Fixed project related links on home page. Add missing Reset button to all list pages. Fixed bug in sort that prevented searching where drop-down item is empty.

This commit is contained in:
Chris Houseknecht
2013-11-20 22:07:41 +00:00
parent 4f46ad63db
commit 8afdb710be
16 changed files with 200 additions and 75 deletions

View File

@@ -29,6 +29,13 @@ angular.module('ProjectsListDefinition', [])
columnClass: 'hidden-sm hidden-xs',
excludeModal: true
},
scm_type: {
label: 'SCM Type',
searchType: 'select',
searchOptions: [], // will be set by Options call to projects resource
excludeModal: true,
nosort: true
},
status: {
label: 'Update Status',
ngClick: 'showSCMStatus(\{\{ project.id \}\})',
@@ -72,7 +79,7 @@ angular.module('ProjectsListDefinition', [])
dataTitle: 'Project Status',
iconSize: 'large'
},
refresh: {
refresh: {
dataPlacement: 'top',
icon: "icon-refresh",
mode: 'all',
@@ -81,6 +88,15 @@ angular.module('ProjectsListDefinition', [])
ngClick: "refresh()",
iconSize: 'large'
},
reset: {
dataPlacement: 'top',
icon: "icon-undo",
mode: 'all',
'class': 'btn-xs btn-primary',
awToolTip: "Reset the search filter",
ngClick: "resetSearch()",
iconSize: 'large'
},
stream: {
'class': "btn-primary btn-xs activity-btn",
ngClick: "showActivity()",