diff options
| author | 2013-11-17 15:23:48 -0500 | |
|---|---|---|
| committer | 2013-11-17 15:26:20 -0500 | |
| commit | ff1803e61aea1fbec607cf11acebf4106f5bbdc9 (patch) | |
| tree | 04be51aa9917c17850deb6142c4459cdc9478778 /app/views | |
| parent | d0a7c1e0235106609ac754c5c6e6cb481a32a9a8 (diff) | |
Ajout d'un raccourci pour refermer un article.
https://github.com/marienfressinaud/FreshRSS/issues/256
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/configure/shortcut.phtml | 7 | ||||
| -rw-r--r-- | app/views/helpers/javascript_vars.phtml | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml index 01e66adb4..37aa3accc 100644 --- a/app/views/configure/shortcut.phtml +++ b/app/views/configure/shortcut.phtml @@ -54,6 +54,13 @@ </div> </div> + <div class="form-group"> + <label class="group-name" for="collapse_entry"><?php echo Translate::t ('collapse_article'); ?></label> + <div class="group-controls"> + <input type="text" id="collapse_entry" name="shortcuts[collapse_entry]" list="keys" value="<?php echo $s['collapse_entry']; ?>" /> + </div> + </div> + <div class="form-group form-actions"> <div class="group-controls"> <button type="submit" class="btn btn-important"><?php echo Translate::t ('save'); ?></button> diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml index 58cb3c5ac..e9deaf71c 100644 --- a/app/views/helpers/javascript_vars.phtml +++ b/app/views/helpers/javascript_vars.phtml @@ -16,7 +16,8 @@ 'mark_favorite:"', $s['mark_favorite'], '",', 'go_website:"', $s['go_website'], '",', 'prev_entry:"', $s['prev_entry'], '",', - 'next_entry:"', $s['next_entry'], '"', + 'next_entry:"', $s['next_entry'], '",', + 'collapse_entry:"', $s['collapse_entry'], '"', "},\n"; $mail = Session::param ('mail', 'null'); |
