Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
017c0f72
Commit
017c0f72
authored
May 31, 2015
by
dileep8014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6 from MPR-Global/HDPDGI-34-1
solving merge issues
parents
41c81145
6740d6bb
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
9 deletions
+6
-9
homeRoutes.js
dashboard/v2/public/modules/home/homeRoutes.js
+2
-1
navigationController.js
...oard/v2/public/modules/navigation/navigationController.js
+0
-1
navigationModule.js
dashboard/v2/public/modules/navigation/navigationModule.js
+2
-0
navigationResource.js
dashboard/v2/public/modules/navigation/navigationResource.js
+0
-0
searchController.js
dashboard/v2/public/modules/search/searchController.js
+0
-1
searchRoutes.js
dashboard/v2/public/modules/search/searchRoutes.js
+1
-5
searchResult.html
dashboard/v2/public/modules/search/views/searchResult.html
+1
-1
No files found.
dashboard/v2/public/modules/home/homeRoutes.js
View file @
017c0f72
...
...
@@ -25,7 +25,8 @@ angular.module('dgc.home.routes', []).config(['$stateProvider',
// states for my app
$stateProvider
.
state
(
'home'
,
{
url
:
'/search'
,
templateUrl
:
'/modules/search/views/search.html'
templateUrl
:
'/modules/search/views/search.html'
,
controller
:
'SearchController'
});
}
]);
dashboard/v2/public/modules/navigation/navigationController.js
View file @
017c0f72
...
...
@@ -21,7 +21,6 @@
angular
.
module
(
'dgc.navigation'
).
controller
(
'NavigationController'
,
[
'$scope'
,
'NavigationResource'
,
function
(
$scope
,
NavigationResource
)
{
$scope
.
leftnav
=
NavigationResource
.
get
();
$scope
.
updateVar
=
function
(
event
)
{
$scope
.
$$prevSibling
.
query
=
angular
.
element
(
event
.
target
).
text
();
...
...
dashboard/v2/public/modules/navigation/navigationModule.js
View file @
017c0f72
...
...
@@ -17,4 +17,5 @@
*/
'use strict'
;
angular
.
module
(
'dgc.navigation'
,[]);
\ No newline at end of file
dashboard/v2/public/modules/navigation/navigationResource.js
View file @
017c0f72
dashboard/v2/public/modules/search/searchController.js
View file @
017c0f72
...
...
@@ -39,7 +39,6 @@ angular.module('dgc.search').controller('SearchController', ['$scope', '$locatio
NotificationService
.
reset
();
$scope
.
limit
=
4
;
SearchResource
.
search
({
query
:
query
},
function
searchSuccess
(
response
)
{
$scope
.
resultCount
=
response
.
count
;
$scope
.
results
=
response
.
results
;
$scope
.
resultRows
=
$scope
.
results
.
rows
;
...
...
dashboard/v2/public/modules/search/searchRoutes.js
View file @
017c0f72
...
...
@@ -27,13 +27,9 @@ angular.module('dgc.search').config(['$stateProvider',
templateUrl
:
'/modules/search/views/search.html'
,
controller
:
'SearchController'
}).
state
(
'search.results'
,
{
url
:
'/:query'
,
templateUrl
:
'/modules/search/views/searchResult.html'
,
controller
:
'SearchController'
}).
state
(
'search.results'
,
{
url
:
'?query'
,
templateUrl
:
'/modules/search/views/searchResult.html'
,
controller
:
'SearchController'
controller
:
'SearchController'
});
}
]);
dashboard/v2/public/modules/search/views/searchResult.html
View file @
017c0f72
...
...
@@ -41,7 +41,7 @@
<div
data-ng-if=
"!searchTypesAvailable"
data-ng-include=
"'/modules/search/views/types/guid.html'"
></div>
</li>
</ul>
<div
ng-show=
'
results.rows.length > 0
'
>
<div
ng-show=
'
searchTypesAvailable
'
>
<pagination
total-items=
"totalItems"
items-per-page=
"itemsPerPage"
ng-model=
"currentPage"
ng-change=
"pageChanged()"
></pagination>
<p>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment