summaryrefslogtreecommitdiffstats
path: root/templates/part.settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.settings.php')
-rw-r--r--templates/part.settings.php31
1 files changed, 22 insertions, 9 deletions
diff --git a/templates/part.settings.php b/templates/part.settings.php
index 890eb0d2b..00b7b79aa 100644
--- a/templates/part.settings.php
+++ b/templates/part.settings.php
@@ -13,28 +13,34 @@
<p ng-click="Settings.toggleSetting('compact')">
<label for="compact">
- <input type="checkbox" ng-checked="Settings.getSetting('compact')" name="compact">
+ <input type="checkbox" ng-checked="Settings.getSetting('compact')"
+ name="compact">
<?php p($l->t('Compact view')); ?>
</label>
</p>
<p ng-click="Settings.toggleSetting('showAll')">
<label for="showAll">
- <input type="checkbox" ng-checked="Settings.getSetting('showAll')" name="showAll">
+ <input type="checkbox" ng-checked="Settings.getSetting('showAll')"
+ name="showAll">
<?php p($l->t('Show all articles')); ?>
</label>
</p>
<p ng-click="Settings.toggleSetting('oldestFirst')">
<label for="oldestFirst">
- <input type="checkbox" ng-checked="Settings.getSetting('oldestFirst')" name="oldestFirst">
+ <input type="checkbox"
+ ng-checked="Settings.getSetting('oldestFirst')"
+ name="oldestFirst">
<?php p($l->t('Reverse ordering')); ?>
</label>
</p>
<p ng-click="Settings.toggleSetting('preventReadOnScroll')">
<label for="preventReadOnScroll">
- <input type="checkbox" ng-checked="Settings.getSetting('preventReadOnScroll')" name="preventReadOnScroll">
+ <input type="checkbox"
+ ng-checked="Settings.getSetting('preventReadOnScroll')"
+ name="preventReadOnScroll">
<?php p($l->t('Disable mark read through scrolling')); ?>
</label>
</p>
@@ -51,7 +57,8 @@
class="icon-upload svg button-icon-label"
news-trigger-click="#opml-upload"
ng-class="{'entry-loading': Settings.isOPMLImporting}"
- ng-disabled="Settings.isOPMLImporting || Settings.isArticlesImporting">
+ ng-disabled=
+ "Settings.isOPMLImporting || Settings.isArticlesImporting">
</button>
<a title="<?php p($l->t('Export')); ?>"
@@ -69,7 +76,9 @@
</button>
<p class="error" ng-show="Settings.opmlImportError">
- <?php p($l->t('Error when importing: file does not contain valid OPML')); ?>
+ <?php p(
+ $l->t('Error when importing: file does not contain valid OPML')
+ ); ?>
</p>
@@ -84,11 +93,13 @@
<button title="<?php p($l->t('Import')); ?>"
class="icon-upload svg button-icon-label"
ng-class="{'entry-loading': Settings.isArticlesImporting}"
- ng-disabled="Settings.isOPMLImporting || Settings.isArticlesImporting"
+ ng-disabled=
+ "Settings.isOPMLImporting || Settings.isArticlesImporting"
news-trigger-click="#article-upload">
</button>
- <a title="<?php p($l->t('Export')); ?>" class="button icon-download svg button-icon-label"
+ <a title="<?php p($l->t('Export')); ?>"
+ class="button icon-download svg button-icon-label"
href="<?php p(\OCP\Util::linkToRoute('news.export.articles')); ?>"
target="_blank"
ng-hide="App.isFirstRun()">
@@ -101,7 +112,9 @@
</button>
<p class="error" ng-show="Settings.articleImportError">
- <?php p($l->t('Error when importing: file does not contain valid JSON')); ?>
+ <?php p(
+ $l->t('Error when importing: file does not contain valid JSON')
+ ); ?>
</p>
</div>