diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-02-09 09:28:28 -0500 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-02-09 09:28:28 -0500 |
commit | cbc9720f4fd55a552a2c50c092e5d828c8a261dc (patch) | |
tree | b46a757a0ae71fe2d901d7e5a79c0c26101cb8e7 | |
parent | 7524406189939a1e872251f6aac4bcb5038cad1f (diff) | |
download | gitlab-ce-faster-project-page.tar.gz |
Remove CI stuff to make project page fly.faster-project-page
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index 4a27965754d..cfa0ad356aa 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -1,22 +1,16 @@ - avatar = true unless local_assigns[:avatar] == false - stars = true unless local_assigns[:stars] == false - forks = false unless local_assigns[:forks] == true -- ci = false unless local_assigns[:ci] == true - skip_namespace = false unless local_assigns[:skip_namespace] == true - css_class = '' unless local_assigns[:css_class] -- show_last_commit_as_description = false unless local_assigns[:show_last_commit_as_description] == true && project.commit - css_class += " no-description" if project.description.blank? && !show_last_commit_as_description - cache_key = [project.namespace, project, controller.controller_name, controller.action_name, current_application_settings, 'v2.3'] -- cache_key.push(project.commit.status) if project.commit.try(:status) %li.project-row{ class: css_class } = cache(cache_key) do .controls - if project.archived %span.label.label-warning archived - - if project.commit.try(:status) - %span - = render_commit_status(project.commit) - if forks %span = icon('code-fork') @@ -45,10 +39,6 @@ %span.project-name.filter-title = project.name - - if show_last_commit_as_description - .description - = link_to_gfm project.commit.title, namespace_project_commit_path(project.namespace, project, project.commit), - class: "commit-row-message" - - elsif project.description.present? + - if project.description.present? .description - = markdown_field(project, :description) + = markdown_field(project, :description)
\ No newline at end of file |