diff options
author | Andrey <ad@2d-arts.com> | 2015-09-24 19:36:15 +0300 |
---|---|---|
committer | Andrey <ad@2d-arts.com> | 2015-09-24 19:36:15 +0300 |
commit | 1f78c5d46053ad37c280f0bc5273522d76888e63 (patch) | |
tree | d5c0d20362cc036ed9003a631e96fc6eeffc429f /app/views/projects/buttons | |
parent | 03fd5919a393b8784c601c76c3ed65912f4b522a (diff) |
UI changes to the project view, empty project and project list new project button
Diffstat (limited to 'app/views/projects/buttons')
-rw-r--r-- | app/views/projects/buttons/_fork.html.haml | 1 | ||||
-rw-r--r-- | app/views/projects/buttons/_star.html.haml | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/app/views/projects/buttons/_fork.html.haml b/app/views/projects/buttons/_fork.html.haml index 854c154824d..8f2f631eb7d 100644 --- a/app/views/projects/buttons/_fork.html.haml +++ b/app/views/projects/buttons/_fork.html.haml @@ -8,6 +8,5 @@ - else = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn' do = icon('code-fork fw') - Fork %span.count = @project.forks_count diff --git a/app/views/projects/buttons/_star.html.haml b/app/views/projects/buttons/_star.html.haml index 5d7df5ae099..3501dddefbe 100644 --- a/app/views/projects/buttons/_star.html.haml +++ b/app/views/projects/buttons/_star.html.haml @@ -1,10 +1,6 @@ - if current_user = link_to toggle_star_namespace_project_path(@project.namespace, @project), class: 'btn star-btn toggle-star', method: :post, remote: true do = icon('star fw') - - if current_user.starred?(@project) - Unstar - - else - Star %span.count = @project.star_count @@ -17,6 +13,5 @@ - else = link_to new_user_session_path, class: 'btn has_tooltip star-btn', title: 'You must sign in to star a project' do = icon('star fw') - Star %span.count = @project.star_count |