Commit e7add858 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

bug fixes & bootstrap buttons

parent b7558a20
...@@ -118,6 +118,19 @@ table { ...@@ -118,6 +118,19 @@ table {
&.primary { &.primary {
@extend .btn-primary; @extend .btn-primary;
} }
&.danger,
&.btn-danger {
color:#fff;
background: #DA4E49;
border-color: #BD362F;
&:hover {
color:#fff;
background: #EE4E49;
}
}
&.danger { &.danger {
@extend .btn-danger; @extend .btn-danger;
} }
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
%hr %hr
.dashboard_block .dashboard_block
.row .row
.span4.right .span3.right
%div.lborder.ipadded %div.lborder.ipadded
%h3 %h3
= pluralize current_user.projects.count, "project", "projects" = pluralize current_user.projects.count, "project", "projects"
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
%br %br
= link_to profile_path, :class => "btn" do = link_to profile_path, :class => "btn" do
Your Profile » Your Profile »
.span8.left= render "dashboard/projects_feed", :projects => @active_projects .span9.left= render "dashboard/projects_feed", :projects => @active_projects
- if @last_push && @last_push.valid_push? - if @last_push && @last_push.valid_push?
.padded.prepend-top-20 .padded.prepend-top-20
%h5 %h5
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
.main_box .main_box
.top_box_content .top_box_content
%h5 %h4
- if @issue.closed - if @issue.closed
.alert-message.error.status_info Closed .alert-message.error.status_info Closed
- else - else
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
.main_box .main_box
.top_box_content .top_box_content
%h5 %h4
- if @merge_request.closed - if @merge_request.closed
.alert-message.error.status_info Closed .alert-message.error.status_info Closed
- else - else
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
%td %td
%strong= link_to tag.name, project_commits_path(@project, :ref => tag.name), :class => "" %strong= link_to tag.name, project_commits_path(@project, :ref => tag.name), :class => ""
%td %td
= link_to project_commits_path(@project, tag.commit.id) do = link_to project_commit_path(@project, tag.commit.id) do
%code= tag.commit.id.to_s[0..10] %code= tag.commit.id.to_s[0..10]
= image_tag gravatar_icon(Commit.new(tag.commit).author_email), :class => "", :width => 16 = image_tag gravatar_icon(Commit.new(tag.commit).author_email), :class => "", :width => 16
= truncate(Commit.new(tag.commit).safe_message, :length => 40) = truncate(Commit.new(tag.commit).safe_message, :length => 40)
......
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