diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 2 | ||||
-rw-r--r-- | templates/part.addnew.php | 2 | ||||
-rw-r--r-- | templates/part.content.php | 6 | ||||
-rw-r--r-- | templates/part.items.php | 8 | ||||
-rw-r--r-- | templates/part.settings.php | 25 |
5 files changed, 28 insertions, 15 deletions
diff --git a/templates/main.php b/templates/main.php index 7021884e0..9185eb2f7 100644 --- a/templates/main.php +++ b/templates/main.php @@ -32,7 +32,7 @@ <?php print_unescaped($this->inc('part.listfolder')) ?> </ul> - <!-- settigns --> + <!-- settings --> <div id="app-settings" ng-controller="SettingsController as Settings"> <?php print_unescaped($this->inc('part.settings')) ?> </div> diff --git a/templates/part.addnew.php b/templates/part.addnew.php index cefc76aa6..af07dc566 100644 --- a/templates/part.addnew.php +++ b/templates/part.addnew.php @@ -20,7 +20,7 @@ <input type="text" ng-model="feedUrl" placeholder="<?php p($l->t('Address')); ?>" - name="adress" + name="address" autofocus> <button title="<?php p($l->t('Add')); ?>" class="primary" diff --git a/templates/part.content.php b/templates/part.content.php index 55b866f3c..5b1bcd246 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -59,8 +59,10 @@ <div class="bottom-utils"> <ul> <li ng-click="Content.toggleKeepUnread(item.id)"> - <label for="keep-unread"><?php p($l->t('Keep unread')); ?></label> - <input type="checkbox" name="keep-unread" ng-checked="item.keepUnread"/> + <label for="keep-unread"> + <input type="checkbox" name="keep-unread" ng-checked="item.keepUnread"/> + <?php p($l->t('Keep unread')); ?> + </label> </li> </ul> </div> diff --git a/templates/part.items.php b/templates/part.items.php index 8576e851b..dfb2a71a2 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -55,7 +55,7 @@ <a target="_blank" ng-href="{{ feedBusinessLayer.getFeedLink(item.feedId) }}" class="from_feed">{{ itemBusinessLayer.getFeedTitle(item.id) }}</a> </span> - <span ui-if="item.author"> + <span ng-if="item.author"> <?php p($l->t('by')) ?> {{ item.author }} </span> @@ -73,8 +73,10 @@ <div class="bottom-utils"> <ul ng-show="item.keepUnread"> <li ng-click="Content.toggleKeepUnread(item.id)"> - <label for="keep-unread"><?php p($l->t('Keep unread')); ?></label> - <input type="checkbox" name="keep-unread" ng-checked="item.keepUnread"/> + <label for="keep-unread"> + <input type="checkbox" name="keep-unread" ng-checked="item.keepUnread"/> + <?php p($l->t('Keep unread')); ?> + </label> </li> </ul> </div> diff --git a/templates/part.settings.php b/templates/part.settings.php index 5b2bf599a..4c9b3eca2 100644 --- a/templates/part.settings.php +++ b/templates/part.settings.php @@ -8,23 +8,32 @@ <h3><?php p($l->t('Settings')); ?></h3> <p ng-click="Settings.toggleSetting('compact')"> - <input type="checkbox" ng-checked="Settings.getSetting('compact')" name="compact"> - <label for="compact"><?php p($l->t('Use compact view')); ?></label> + <label for="compact"> + <input type="checkbox" ng-checked="Settings.getSetting('compact')" name="compact"> + <?php p($l->t('Use compact view')); ?> + </label> </p> <p ng-click="Settings.toggleSetting('showAll')"> - <input type="checkbox" ng-checked="Settings.getSetting('showAll')" name="showAll"> - <label for="showAll"><?php p($l->t('Show unread articles')); ?></label> + + <label for="showAll"> + <input type="checkbox" ng-checked="Settings.getSetting('showAll')" name="showAll"> + <?php p($l->t('Show unread articles')); ?> + </label> </p> <p ng-click="Settings.toggleSetting('oldestFirst')"> - <input type="checkbox" ng-checked="Settings.getSetting('oldestFirst')" name="oldestFirst"> - <label for="oldestFirst"><?php p($l->t('Order by oldest first')); ?></label> + <label for="oldestFirst"> + <input type="checkbox" ng-checked="Settings.getSetting('oldestFirst')" name="oldestFirst"> + <?php p($l->t('Order by oldest first')); ?> + </label> </p> <p ng-click="Settings.toggleSetting('preventReadOnScroll')"> - <input type="checkbox" ng-checked="Settings.getSetting('preventReadOnScroll')" name="preventReadOnScroll"> - <label for="preventReadOnScroll"><?php p($l->t('Do not as mark read when scrolling')); ?></label> + <label for="preventReadOnScroll"> + <input type="checkbox" ng-checked="Settings.getSetting('preventReadOnScroll')" name="preventReadOnScroll"> + <?php p($l->t('Do not as mark read when scrolling')); ?> + </label> </p> |