Do not show "Show edit history" in read-only mode (fixes #61)

pull/108/head
Candid Dauth 2017-02-25 16:13:30 +01:00
rodzic 313f6ef9aa
commit e0b64ea684
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -39,7 +39,7 @@
<ul uib-dropdown-menu aria-labelledby="toolbox-layers-dropdown" class="dropdown-menu-right">
<!--<li ng-if="!readonly"><a href="javascript:" ng-click="openDialog('copy-pad-dialog')">Copy pad</a></li>-->
<li><a href="javascript:" ng-click="importFile()">Import file</a></li>
<li ng-if="padId"><a href="javascript:" ng-click="showHistory()">Show edit history</a></li>
<li ng-if="!readonly && padId"><a href="javascript:" ng-click="showHistory()">Show edit history</a></li>
<li ng-if="padId"><a href="javascript:" ng-click="filter()">Filter</a></li>
<li ng-if="padId"><a href="{{padId}}/gpx?useTracks=1">Export GPX</a></li>
<li ng-if="padId"><a href="javascript:" ng-click="showTable()">View as table</a></li>