Show More
Commit Description:
select2, ace, moment now work....
Commit Description:
select2, ace, moment now work.
converting navbar
References:
File last commit:
Show/Diff file:
Action:
app/views/main/_announcement.html.haml
| 15 lines
| 634 B
| text/x-haml
| HamlLexer
|
r567 | %li.list-group-item | |||
%strong | ||||
= announcement.title | ||||
r609 | - if @current_user and @current_user.admin? | |||
r598 | = link_to 'Edit', edit_announcement_path(announcement), class: 'btn btn-xs btn-default' | |||
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 | ||||
|
r192 | :javascript | ||
r567 | $("announcement-#{announcement.id}").blindDown({duration: 0.2}); | |||
$("announcement-#{announcement.id}").appear({duration: 0.5, queue: 'end'}); | ||||