Move plugins to separate directory.
This commit is contained in:
parent
6e990fed4c
commit
6aa8ee7968
59 changed files with 4 additions and 4 deletions
|
|
@ -0,0 +1,3 @@
|
|||
/ insert_after 'erb:contains("tasks")'
|
||||
- if FoodsoftMessages.enabled?
|
||||
%li= link_to t('.write_message'), new_message_path
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/ insert_after 'erb[silent]:contains("<dashboard_middle_mark>")'
|
||||
- if FoodsoftMessages.enabled?
|
||||
- unless Message.pub.empty?
|
||||
%section#messages
|
||||
%h2= t '.messages.title'
|
||||
= render 'messages/messages', messages: Message.pub.order('created_at DESC').limit(5), pagination: false
|
||||
%p= link_to t('.messages.view_all'), messages_path
|
||||
Loading…
Add table
Add a link
Reference in a new issue