Commit 3b0acc9e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'bug/archive_label_overflow' of /home/git/repositories/gitlab/gitlabhq

parents 4efaa51b 5cb85258
...@@ -7,10 +7,6 @@ ...@@ -7,10 +7,6 @@
%span.visibility-level-label %span.visibility-level-label
= visibility_level_icon(@project.visibility_level) = visibility_level_icon(@project.visibility_level)
= visibility_level_label(@project.visibility_level) = visibility_level_label(@project.visibility_level)
- if @project.archived?
%span.visibility-level-label
%i.icon-book
Archived
.span7 .span7
- unless empty_repo - unless empty_repo
...@@ -32,4 +28,4 @@ ...@@ -32,4 +28,4 @@
= link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref) = link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
= link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project) = link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project)
= link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project) = link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project)
%span.light.prepend-left-20= repository_size %span.light.prepend-left-20= repository_size
\ No newline at end of file
...@@ -8,6 +8,14 @@ ...@@ -8,6 +8,14 @@
.loading.hide .loading.hide
.span3.project-side .span3.project-side
.clearfix .clearfix
- if @project.archived?
.alert
%h5
%i.icon-warning-sign
Archived project!
%p Repository is read-only
- if @project.forked_from_project - if @project.forked_from_project
.alert.alert-success .alert.alert-success
%i.icon-code-fork.project-fork-icon %i.icon-code-fork.project-fork-icon
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment