summaryrefslogtreecommitdiff
path: root/pages/timers.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/timers.ecpp')
-rw-r--r--pages/timers.ecpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
index 94428f6..05084b8 100644
--- a/pages/timers.ecpp
+++ b/pages/timers.ecpp
@@ -54,7 +54,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</head>
<body onload="LiveStatusAjaxRequest('infobox.html', 'infobox')">
<& pageelems.logo &>
- <& menu active=("timers") &>
+ <& menu active=("timers") component=("timers.timer_actions")>
<div class="inhalt">
% if (timers.size() == 0) {
Keiner Timer definiert
@@ -82,7 +82,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td><$ tr("File") $></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
- <td><a href="edit_timer.html"><img src="/button_new.png" alt="" <& tooltip.hint text=(tr("New timer")) &>/></a></td>
+ <td>&nbsp;</td>
<td style="background: url(bg_box_r.png); width: 3px;" /></td>
</tr>
<{
@@ -111,3 +111,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</body>
</html>
<%include>page_exit.eh</%include>
+
+<%def timer_actions>
+<a href="edit_timer.html"><$ tr("New timer") $></a>
+</%def>