Show More
Commit Description:
start moving to importmap
Commit Description:
start moving to importmap
File last commit:
Show/Diff file:
Action:
app/views/main/_announcement.html.haml | 15 lines | 634 B | text/x-haml | HamlLexer |
- add front page toggle to announcement...
r567 %li.list-group-item
%strong
= announcement.title
fix various bug
r609 - if @current_user and @current_user.admin?
- remove inplace editor from view...
r598 = link_to 'Edit', edit_announcement_path(announcement), class: 'btn btn-xs btn-default'
- add front page toggle to announcement...
r567 %small= "(updated #{time_ago_in_words(announcement.updated_at)} ago on #{announcement.updated_at})"
%br
= markdown(announcement.body)
:javascript
Announcement.updateRecentId(#{announcement.id});
- if (defined? announcement_effect) and announcement_effect
jittat
added announcement refresh, more styling, prep for announcement hiding...
r192 :javascript
- add front page toggle to announcement...
r567 $("announcement-#{announcement.id}").blindDown({duration: 0.2});
$("announcement-#{announcement.id}").appear({duration: 0.5, queue: 'end'});