User profile restyle. Feed(Atom) links for commits & issues

This commit is contained in:
Dmitriy Zaporozhets 2011-12-19 23:32:59 +02:00
parent 54fb0f8589
commit a2d3b21189
16 changed files with 147 additions and 92 deletions

View file

@ -47,7 +47,7 @@
<% end %>
<% end %>
<% if current_user.keys.all.empty? %>
<% if current_user.require_ssh_key? %>
<div id="no_ssh_key_defined" class="big-message error">
<p>No SSH Key is defined. You won't be able to use any Git command!. Click <%=link_to( 'here', keys_path ) %> to add one!
</div>

View file

@ -1,7 +1,10 @@
%h4.middle-panel
.project_name= truncate @project.name, :length => 20
.project_name
= truncate @project.name, :length => 20
.git_url_wrapper
%input.git-url.text{:id => "", :name => "", :readonly => "", :type => "text", :value => @project.url_to_repo, :class => "one_click_select"}
= yield :rss_icon
- if @project.repo_exists?
.right= render :partial => "projects/refs", :locals => { :destination => controller.controller_name == "commits" ? "commits" : "tree" }