diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-12 17:51:55 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-12 17:51:55 +0100 |
commit | 735b2ff157de8c52a7a8fe22088a932242753cca (patch) | |
tree | 8f65a5a35c525d84653b4aae71ac9258f61e5e16 /templates/part.settings.php | |
parent | 1f388ad3bc7e844bfea566214e442a2f10073146 (diff) |
different order for the delete icon, disable export button if there are no feeds
Diffstat (limited to 'templates/part.settings.php')
-rw-r--r-- | templates/part.settings.php | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/templates/part.settings.php b/templates/part.settings.php index 5dac1f05a..b5860124d 100644 --- a/templates/part.settings.php +++ b/templates/part.settings.php @@ -1,15 +1,16 @@ <fieldset class="personalblock"> - <legend><strong><?php p($l->t('Import / Export OPML')); ?></strong></legend> - <input type="file" id="opml-upload" name="files[]" read-file/> - <button title="<?php p($l->t('Import')); ?>" forward-click="{selector:'#opml-upload'}"> - <?php p($l->t('Import')); ?> - </button> - <a class="button" - href="<?php print_unescaped(\OC_Helper::linkToRoute('news_export_opml')) ?>" - title="<?php p($l->t('Export')); ?>"><?php p($l->t('Export')); ?></a> + <legend><strong><?php p($l->t('Import / Export OPML')); ?></strong></legend> + <input type="file" id="opml-upload" name="files[]" read-file/> + <button title="<?php p($l->t('Import')); ?>" forward-click="{selector:'#opml-upload'}"> + <?php p($l->t('Import')); ?> + </button> + <button ng-disabled="feeds.length==0" title="<?php p($l->t('Export')); ?>" + ng-click="export()"> + <?php p($l->t('Export')); ?> + </button> </fieldset> <fieldset class="personalblock"> - <legend><strong><?php p($l->t('Subscribelet')); ?></strong></legend> - <p><?php print_unescaped($this->inc('part.subscribelet'));?> - </p> + <legend><strong><?php p($l->t('Subscribelet')); ?></strong></legend> + <p><?php print_unescaped($this->inc('part.subscribelet'));?> + </p> </fieldset> |