Adding sortingoptions for creationdate and last modified (closes #2448)
This commit is contained in:
parent
f8be521bf5
commit
fc21713bb4
@ -909,10 +909,8 @@ angular.module('OpenSlidesApp.motions.site', [
|
|||||||
ngDialog.open(MotionForm.getDialog(motion));
|
ngDialog.open(MotionForm.getDialog(motion));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Export as a pdf file
|
// Export as a pdf file
|
||||||
$scope.pdf_export = function() {
|
$scope.pdf_export = function() {
|
||||||
|
|
||||||
var filename = gettextCatalog.getString("Motions") + ".pdf";
|
var filename = gettextCatalog.getString("Motions") + ".pdf";
|
||||||
var image_sources = [];
|
var image_sources = [];
|
||||||
|
|
||||||
|
@ -273,6 +273,28 @@
|
|||||||
</i>
|
</i>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<!-- creation date -->
|
||||||
|
<div class="pointer dropdown-entry" ng-click="toggleSort('log_messages[log_messages.length-1].time')">
|
||||||
|
<translate>Creation date</translate>
|
||||||
|
<span class="spacer-right pull-right"></span>
|
||||||
|
<i class="pull-right fa"
|
||||||
|
ng-style="{'visibility': sortColumn === 'log_messages[log_messages.length-1].time' && header.sortable != false ? 'visible' : 'hidden'}"
|
||||||
|
ng-class="reverse ? 'fa-sort-desc' : 'fa-sort-asc'">
|
||||||
|
</i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<!-- last modified -->
|
||||||
|
<div class="pointer dropdown-entry" ng-click="toggleSort('log_messages[0].time')">
|
||||||
|
<translate>Last modified</translate>
|
||||||
|
<span class="spacer-right pull-right"></span>
|
||||||
|
<i class="pull-right fa"
|
||||||
|
ng-style="{'visibility': sortColumn === 'log_messages[0].time' && header.sortable != false ? 'visible' : 'hidden'}"
|
||||||
|
ng-class="reverse ? 'fa-sort-asc' : 'fa-sort-desc'">
|
||||||
|
</i>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</span>
|
</span>
|
||||||
<!-- search field -->
|
<!-- search field -->
|
||||||
|
Loading…
Reference in New Issue
Block a user