Shorter status text

This commit is contained in:
Christoph Haas 2021-03-10 01:18:17 +01:00
parent ee24f99df4
commit 95223e3ba7
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ module PackagesHelper
elsif screenshot.hidden elsif screenshot.hidden
return (fa_icon('eye-slash') + ' Hidden'), 'hidden' return (fa_icon('eye-slash') + ' Hidden'), 'hidden'
elsif !screenshot.approved elsif !screenshot.approved
return (fa_icon('hourglass') + ' Waiting for approval'), 'unapproved' return (fa_icon('hourglass') + ' Unapproved'), 'unapproved'
end end
end end

View file

@ -53,7 +53,7 @@ class Screenshot < ApplicationRecord
'Public' 'Public'
else else
#fa_icon('hourglass') + 'Waiting for approval' #fa_icon('hourglass') + 'Waiting for approval'
'Waiting for approval' 'Unapproved'
end end
end end