Commit 5a6556ff56f09adefc0ac8ffe587c263050a674c
1 parent
9e96dedf
Exists in
master
and in
1 other branch
Added link to calendar subscription on deploys index
Showing
3 changed files
with
10 additions
and
0 deletions
Show diff stats
app/views/deploys/index.html.haml
1 | 1 | - content_for :title, 'Deploys' |
2 | +- content_for :action_bar do | |
3 | + - if current_user.authentication_token | |
4 | + %span= link_to 'calendar subscription', app_deploys_path(@app, :format => "ics", :auth_token => current_user.authentication_token), :class => "calendar_link" | |
2 | 5 | = render 'table', :deploys => @deploys |
3 | 6 | = will_paginate @deploys, :previous_label => '« Previous', :next_label => 'Next »' |
7 | + | ... | ... |
2.18 KB
public/stylesheets/application.css
... | ... | @@ -219,6 +219,12 @@ a.action { float: right; font-size: 0.9em;} |
219 | 219 | background-image: url(images/icons/add.png); |
220 | 220 | } |
221 | 221 | |
222 | +#action-bar .calendar_link { | |
223 | + background: url(/images/ical.png) no-repeat scroll 11px 4px transparent; | |
224 | + padding-left: 47px; | |
225 | +} | |
226 | + | |
227 | + | |
222 | 228 | /* Content */ |
223 | 229 | #content { |
224 | 230 | padding: 20px; border-top: 1px solid #C6C6C6; | ... | ... |