diff options
| author | 2018-05-29 19:11:28 +0200 | |
|---|---|---|
| committer | 2018-05-29 19:11:28 +0200 | |
| commit | 4ec1ebade400725266d65dcdd368b4cee238284e (patch) | |
| tree | 811d250c2912508cc48b5d6ff245fbfdb4c4aeaf /app/views | |
| parent | 18443963b92827e750a5a2a8de71aa63af9d3f6a (diff) | |
Feed attributes only for admin (#1905)
* Feed attributes only for admin
https://github.com/FreshRSS/FreshRSS/pull/1838
* Changelog 1905
https://github.com/FreshRSS/FreshRSS/pull/1905
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index 88a38ea58..7144aab46 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -205,6 +205,7 @@ </div> </div> + <?php if (FreshRSS_Auth::hasAccess('admin')) { ?> <div class="form-group"> <label class="group-name" for="timeout"><?php echo _t('sub.feed.timeout'); ?></label> <div class="group-controls"> @@ -224,6 +225,7 @@ </label> </div> </div> + <?php } ?> <div class="form-group form-actions"> <div class="group-controls"> |
