diff --git a/app/views/deploys/index.html.haml b/app/views/deploys/index.html.haml
index 8d99fa4..bbea30c 100644
--- a/app/views/deploys/index.html.haml
+++ b/app/views/deploys/index.html.haml
@@ -1,3 +1,7 @@
- content_for :title, 'Deploys'
+- content_for :action_bar do
+ - if current_user.authentication_token
+ %span= link_to 'calendar subscription', app_deploys_path(@app, :format => "ics", :auth_token => current_user.authentication_token), :class => "calendar_link"
= render 'table', :deploys => @deploys
= will_paginate @deploys, :previous_label => '« Previous', :next_label => 'Next »'
+
diff --git a/public/images/ical.png b/public/images/ical.png
new file mode 100644
index 0000000..36aa915
Binary files /dev/null and b/public/images/ical.png differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 06eb349..88c6b3d 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -219,6 +219,12 @@ a.action { float: right; font-size: 0.9em;}
background-image: url(images/icons/add.png);
}
+#action-bar .calendar_link {
+ background: url(/images/ical.png) no-repeat scroll 11px 4px transparent;
+ padding-left: 47px;
+}
+
+
/* Content */
#content {
padding: 20px; border-top: 1px solid #C6C6C6;
--
libgit2 0.21.2