diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index ae5deb0b6de83945483fcd22d581c44d63eaa88a..8703b264f37ce05671c7e3f99a218e0aa8a7d71c 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -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 @@ -32,4 +28,4 @@ = 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.tag_names.count, 'tag'), project_tags_path(@project) - %span.light.prepend-left-20= repository_size \ No newline at end of file + %span.light.prepend-left-20= repository_size diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index bfcd917d7f4bdb0d38da18203e3f4b4e8fca5629..d2ced59f2c696b758b55c83c1a4ef42a09086ea7 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -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