Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-26 19:16:38 +0300
committerMarin Jankovski <maxlazio@gmail.com>2014-12-26 19:16:38 +0300
commit78865a0c993f72c470e67ccb40f7b8d87ad50878 (patch)
tree9b5670fd0a40fe60118608cecfc51b7c6251114f /app/views/projects/protected_branches
parent9fd061807e65d106bac4c42618aaf177cd58855d (diff)
Move styling to css.
Diffstat (limited to 'app/views/projects/protected_branches')
-rw-r--r--app/views/projects/protected_branches/_branches_list.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/projects/protected_branches/_branches_list.html.haml b/app/views/projects/protected_branches/_branches_list.html.haml
index 1bae1938c27..c37b255b6ac 100644
--- a/app/views/projects/protected_branches/_branches_list.html.haml
+++ b/app/views/projects/protected_branches/_branches_list.html.haml
@@ -2,10 +2,10 @@
%h5 Already Protected:
%table.table.protected-branches-list
%thead
- %tr
- %th{style: "border:0;"} Branch
- %th{style: "border:0;"} Developers can push
- %th{style: "border:0;"}
+ %tr.no-border
+ %th Branch
+ %th Developers can push
+ %th
%tbody
- @branches.each do |branch|
@@ -22,8 +22,8 @@
.pull-right
- if can? current_user, :admin_project, @project
= link_to 'Unprotect', [@project, branch], data: { confirm: 'Branch will be writable for developers. Are you sure?' }, method: :delete, class: "btn btn-remove btn-small"
- %tr
- %td{style: "border:0;"}
+ %tr.no-border
+ %td
- if commit = branch.commit
= link_to project_commit_path(@project, commit.id), class: 'commit_short_id' do
= commit.short_id
@@ -32,5 +32,5 @@
#{time_ago_with_tooltip(commit.committed_date)}
- else
(branch was removed from repository)
- %td{style: "border:0;"}
- %td{style: "border:0;"}
+ %td
+ %td