Permalink
Browse files

Update articles listing display

  • Loading branch information...
1 parent f61735e commit aae766fe55074953a99552f98a0c89cc89b7af84 @fdv fdv committed Aug 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/admin/base_helper.rb
View
2 app/helpers/admin/base_helper.rb
@@ -147,7 +147,7 @@ def link_to_published(item)
end
def published_or_not(item)
- return "<span class='label success'>#{_("Published")}</span>" if item.state.to_s.downcase == 'published'
+ return "<span class='label label-success'>#{_("Published")}</span>" if item.state.to_s.downcase == 'published'
return "<span class='label label-info'>#{_("Draft")}</span>" if item.state.to_s.downcase == 'draft'
return "<span class='label label-important'>#{_("Withdrawn")}</span>" if item.state.to_s.downcase == 'withdrawn'
return "<span class='label label-warning'>#{_("Publication pending")}</span>" if item.state.to_s.downcase == 'publicationpending'

0 comments on commit aae766f

Please sign in to comment.