move arhoved label from project title to sidebar

Signed-off-by: NDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
上级 79248f4c
......@@ -7,10 +7,6 @@
%span.visibility-level-label
= visibility_level_icon(@project.visibility_level)
= visibility_level_label(@project.visibility_level)
- if @project.archived?
%span.visibility-level-label
%i.icon-book
Archived
.span7
- unless empty_repo
......
......@@ -8,6 +8,14 @@
.loading.hide
.span3.project-side
.clearfix
- if @project.archived?
.alert
%h5
%i.icon-warning-sign
Archived project!
%p Repository is read-only
- if @project.forked_from_project
.alert.alert-success
%i.icon-code-fork.project-fork-icon
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册