Commit a10ad7183e0edd04646b778954de610cf69bbff8
1 parent
bd7359b5
Exists in
master
and in
4 other branches
Usability improved. Nothing to show messages for issues, MR
Showing
5 changed files
with
30 additions
and
5 deletions
Show diff stats
app/views/issues/index.html.haml
... | ... | @@ -33,7 +33,11 @@ |
33 | 33 | = hidden_field_tag :status, params[:f] |
34 | 34 | = search_field_tag :issue_search, nil, { :placeholder => 'Search', :class => 'issue_search' } |
35 | 35 | |
36 | - %ul#issues-table.unstyled= render "issues" | |
36 | + %ul#issues-table.unstyled | |
37 | + = render "issues" | |
38 | + - if @issues.blank? | |
39 | + %li | |
40 | + %p.padded Nothing to show here | |
37 | 41 | |
38 | 42 | :javascript |
39 | 43 | var href = $('.issue_search').parent().attr('action'); | ... | ... |
app/views/keys/index.html.haml
app/views/keys/show.html.haml
1 | -%h3= @key.title | |
1 | +%h3 | |
2 | + Public key: | |
3 | + = @key.title | |
4 | + %small | |
5 | + created at | |
6 | + = @key.created_at.stamp("Aug 21, 2011") | |
7 | +.back_link | |
8 | + = link_to keys_path do | |
9 | + ← To keys list | |
2 | 10 | %hr |
11 | + | |
3 | 12 | %pre= @key.key |
4 | 13 | .actions |
5 | 14 | = link_to 'Remove', @key, :confirm => 'Are you sure?', :method => :delete, :class => "btn danger delete-key" | ... | ... |
app/views/merge_requests/index.html.haml
app/views/profile/show.html.haml
1 | 1 | .media-grid |
2 | 2 | = link_to "#" do |
3 | 3 | = image_tag gravatar_icon(@user.email, 90), :class => "thumbnail" |
4 | - %h3.media_h= @user.name | |
4 | + %h3.media_h | |
5 | + = @user.name | |
6 | + %br | |
7 | + %small | |
8 | + = @user.email | |
9 | + | |
10 | + .right | |
11 | + %p.alert-message.block-message You can change your avatar at gravatar.com | |
5 | 12 | |
6 | 13 | %hr |
7 | 14 | ... | ... |