Merge pull request #1069 from opf/feature/angular-api-work-package-loading-sort-header-cursor

Sort headers have cursor pointer.
pull/1071/head
Alex Coles 11 years ago
commit 795529d91d
  1. 4
      app/assets/stylesheets/work_packages.css
  2. 2
      public/templates/work_packages/sort_header.html

@ -39,6 +39,10 @@ See doc/COPYRIGHT.rdoc for more details.
cursor: pointer; cursor: pointer;
} }
.sort-header {
cursor: pointer;
}
select.to-validate.ng-dirty.ng-valid, input.to-validate.ng-dirty.ng-valid { border:1px solid Green; } select.to-validate.ng-dirty.ng-valid, input.to-validate.ng-dirty.ng-valid { border:1px solid Green; }
select.to-validate.ng-dirty.ng-invalid, input.to-validate.ng-dirty.ng-invalid { border:1px solid Red; } select.to-validate.ng-dirty.ng-invalid, input.to-validate.ng-dirty.ng-invalid { border:1px solid Red; }
select.to-validate.ng-dirty.ng-valid ~ span.ok, input.to-validate.ng-dirty.ng-valid ~ span.ok { color:green; display:inline; } select.to-validate.ng-dirty.ng-valid ~ span.ok, input.to-validate.ng-dirty.ng-valid ~ span.ok { color:green; display:inline; }

@ -1,4 +1,4 @@
<span title="{{ fullTitle }}"> <span title="{{ fullTitle }}" class="sort-header">
<a ng-if="sortable" <a ng-if="sortable"
ng-class="[currentSortDirection && 'sort', currentSortDirection]" ng-class="[currentSortDirection && 'sort', currentSortDirection]"
ng-click="performSort()" ng-click="performSort()"

Loading…
Cancel
Save