Show More
Commit Description:
- refactor direct_edit into submissions/edit...
Commit Description:
- refactor direct_edit into submissions/edit - also refactor short
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_announcement.html.haml | 13 lines | 496 B | text/x-haml | HamlLexer |
%li.list-group-item
%strong
= announcement.title
%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
:javascript
$("announcement-#{announcement.id}").blindDown({duration: 0.2});
$("announcement-#{announcement.id}").appear({duration: 0.5, queue: 'end'});