Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2018-11-21 10:20:04 +0300
committerkorelstar <korelstar@users.noreply.github.com>2018-11-24 11:27:30 +0300
commit4e4d85c173d40f1ef3e8537c328b146ebfca9849 (patch)
tree60e770b01c272cb0c710ca9013a6c04e9bbeec6f /templates
parentf899039979b174042f4451e2cf812538b5993627 (diff)
improve theme compability
Diffstat (limited to 'templates')
-rw-r--r--templates/note.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/note.php b/templates/note.php
index fee3ee86..36fefb10 100644
--- a/templates/note.php
+++ b/templates/note.php
@@ -2,10 +2,10 @@
<div class="note-meta" ng-if="note!==false">
<span class="note-category" ng-class="{ uncategorized: !note.category }" title="<?php p($l->t('Category')); ?>" ng-show="!editCategory" ng-click="showEditCategory()">{{ note.category || '<?php p($l->t('Uncategorized')) ?>' | categoryTitle}} <input type="button" class="edit icon icon-rename" title="<?php p($l->t('Edit category')); ?>"></span>
<span class="note-category" title="<?php p($l->t('Edit category')); ?>" ng-show="editCategory"><form class="category" ng-submit="closeCategory()"><input type="text" id="category" name="category" ng-blur="closeCategory()" placeholder="<?php p($l->t('Uncategorized')); ?>"><input type="submit" class="icon-confirm" value=""></form></span>
- <span class="note-word-count" ng-if="note.content.length > 0">{{note.content | wordCount}}</span>
- <span class="note-unsaved" ng-if="note.unsaved" title="<?php p($l->t('The note has unsaved changes.')); ?>">*</span>
- <span class="note-error" ng-if="note.error" ng-click="manualSave()" title="<?php p($l->t('Click here to try again')); ?>"><?php p($l->t('Saving failed!')); ?></span>
- <span class="saving" ng-if="isManualSaving()" title="<?php p($l->t('Note saved')); ?>"></span>
+ <span class="note-word-count" ng-show="note.content.length > 0">{{note.content | wordCount}}</span>
+ <span class="note-unsaved" ng-show="note.unsaved" title="<?php p($l->t('The note has unsaved changes.')); ?>">*</span>
+ <span class="note-error" ng-show="note.error" ng-click="manualSave()" title="<?php p($l->t('Click here to try again')); ?>"><?php p($l->t('Saving failed!')); ?></span>
+ <span class="saving" ng-show="isManualSaving()" title="<?php p($l->t('Note saved')); ?>"></span>
<span class="note-meta-right">
<button class="icon-fullscreen has-tooltip btn-fullscreen" notes-tooltip ng-click="toggleDistractionFree()"></button>
</span>