mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 21:34:35 -04:00
Export form is not displayed if there is nothing to export
This commit is contained in:
@@ -131,6 +131,7 @@ class FreshRSS_importExport_Controller extends Minz_ActionController {
|
||||
);
|
||||
$this->view->feed = $feed;
|
||||
}
|
||||
|
||||
return $this->view->helperToString('export/articles');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php if (count($this->feeds) > 0) { ?>
|
||||
<form method="post" action="<?php echo _url('importExport', 'export'); ?>">
|
||||
<legend><?php echo Minz_Translate::t ('export'); ?></legend>
|
||||
<div class="form-group">
|
||||
@@ -47,4 +48,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user