From 904e407e96da72b623fb3dbbbddea554a3d6a257 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 22 Sep 2015 22:28:31 +0200 Subject: [PATCH] Improved overview. --- .../javascripts/app/views/calendar/index.jst.eco | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/views/calendar/index.jst.eco b/app/assets/javascripts/app/views/calendar/index.jst.eco index d1d8f6df8..2556f9385 100644 --- a/app/assets/javascripts/app/views/calendar/index.jst.eco +++ b/app/assets/javascripts/app/views/calendar/index.jst.eco @@ -20,8 +20,15 @@
-

<%- @Icon('status', 'ok inline') %> <%= calendar.name %>

-
Default
+

<% if !_.isEmpty(calendar.ical_url): %> + <% if calendar.last_log: %> + <%- @Icon('status', 'error inline') %> + <% else: %> + <%- @Icon('status', 'ok inline') %> + <% end %><% end %> <%= calendar.name %>

+ <% if calendar.default: %> +
Default
+ <% end %>
@@ -54,7 +61,7 @@
-
<%- @T('Public Holidays') %>
+
<%- @T('Holidays') %>
<% if _.isEmpty(calendar.public_holidays_preview): %>-<% end %> <% for holiday, meta of calendar.public_holidays_preview: %> @@ -69,7 +76,6 @@
<%- @T('Set as Default') %>
<% else: %>
<%- @T('Delete') %>
-
<%- @T('Is Default') %>
<% end %>
<%- @T('Edit') %>