diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-01-18 01:19:57 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-01-18 01:19:57 +0200 |
commit | ccfae827234a4b8acb86d1944b9b5b7bdd68481a (patch) | |
tree | 3d1e8bd2ffd0ad35c32320b9335a103fda5f7869 /app/views/snippets/index.html.haml | |
parent | b7614c714eda948a2db5d7bf507e61e1e7b457da (diff) | |
download | gitlab-ce-ccfae827234a4b8acb86d1944b9b5b7bdd68481a.tar.gz |
project alert/error messages
Diffstat (limited to 'app/views/snippets/index.html.haml')
-rw-r--r-- | app/views/snippets/index.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml index cdc3356299b..c7c4c6b1324 100644 --- a/app/views/snippets/index.html.haml +++ b/app/views/snippets/index.html.haml @@ -4,3 +4,9 @@ %div{ :class => "update-data ui-box ui-box-small ui-box-big" } .data = render @snippets.fresh +- else + .notice_holder + %li Snippets do not exist yet. + - if can? current_user, :write_snippet, @project + %li You can add a new one by clicking on plus icon + |