Images refactored, Feed icon replaced, Fixed comment form focus

This commit is contained in:
randx 2012-05-27 01:09:44 +03:00
parent c4b7794352
commit d29ec9d773
18 changed files with 26 additions and 19 deletions

View file

@ -23,10 +23,9 @@
- if current_page?(project_commits_path(@project)) && current_user.private_token
%li.right
%span
= link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }), :class => "btn" do
feed
= image_tag "Rss-UI.PNG", :width => 14, :title => "feed"
%span.rss-icon
= link_to project_commits_path(@project, :atom, { :private_token => current_user.private_token, :ref => @ref }), :title => "Feed" do
= image_tag "rss_ui.png", :title => "feed"
:javascript

View file

@ -5,3 +5,7 @@
%li{:class => "#{'active' if current_page?(project_milestones_path(@project))}"}
= link_to project_milestones_path(@project), :class => "tab" do
Milestones
%li.right
%span.rss-icon
= link_to project_issues_path(@project, :atom, { :private_token => current_user.private_token }) do
= image_tag "rss_ui.png", :title => "feed"

View file

@ -2,10 +2,7 @@
.issues_content
%h3
Issues
%span.rss-icon
= link_to project_issues_path(@project, :atom, { :private_token => current_user.private_token }) do
= image_tag "Rss-UI.PNG", :width => 16, :title => "feed"
%small (#{@issues.total_count})
.right
.span5
- if can? current_user, :write_issue, @project

View file

@ -10,7 +10,7 @@
= f.text_area :note, :size => 255
%p.hint Markdown is enabled.
.row.note_advanced_opts
.row.note_advanced_opts.hide
.span4
%h5 Notify via email:
.clearfix

View file

@ -1,7 +1,6 @@
%h3 Network Graph
%br
#holder.graph.well
#holder.graph
:javascript
var chunk1={commits:#{@commits_json}};
var days=#{@days_json};

View file

@ -29,7 +29,7 @@
- else
%center
= link_to blob_project_ref_path(@project, @ref, :path => params[:path]) do
%div
%div.padded
%br
= image_tag "download.png", :width => 64
%h3