lucene icons added, styling fixed
This commit is contained in:
parent
9164e2a636
commit
d76bf164f1
1604 changed files with 25511 additions and 105 deletions
|
|
@ -11,33 +11,33 @@
|
|||
a.button.small.bordered.radius.warning[
|
||||
href=hide_screenshot_path(screenshot.id)
|
||||
onclick="return confirm('Really hide the screenshot from public view?');"
|
||||
] #{fa_icon 'eye-slash'} Hide
|
||||
] #{icon('eye-off', class: 'icon')} Hide
|
||||
|
||||
- if screenshot.hidden && screenshot.approved && can?(:unhide, screenshot)
|
||||
a.button.small.bordered.radius.warning[
|
||||
href=unhide_screenshot_path(screenshot.id)
|
||||
] #{fa_icon 'eye'} Un-Hide
|
||||
] #{icon('eye', class: 'icon')} Un-Hide
|
||||
|
||||
- if can?(:destroy, screenshot)
|
||||
a.button.small.bordered.radius.alert[
|
||||
href=delete_screenshot_path(screenshot.id)
|
||||
onclick="return confirm('Really delete the screenshot?');"
|
||||
] #{fa_icon 'trash'} Delete
|
||||
] #{icon('trash-2', class: 'icon')} Delete
|
||||
|
||||
/ a.button.small.bordered.radius.secondary[
|
||||
/ href='#'
|
||||
/ ] #{fa_icon 'edit'} Edit caption
|
||||
/ ] #{icon('fa-solid', 'edit')} Edit caption
|
||||
|
||||
/ a.button.small.bordered.radius.secondary[
|
||||
/ href='#'
|
||||
/ ] #{fa_icon 'star'} Make primary
|
||||
/ ] #{icon('fa-solid', 'star')} Make primary
|
||||
|
||||
- unless screenshot.approved
|
||||
- if can?(:approve, screenshot)
|
||||
a.button.small.success[
|
||||
href=approve_screenshot_path(screenshot.id)
|
||||
method='post'
|
||||
] #{fa_icon 'check'} Approve
|
||||
] #{icon('check')} Approve
|
||||
|
||||
/ Display additional information to admins
|
||||
/ p Status: #{screenshot.adminstatus}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue