From ad8483c0531cef620ade2a3d74b50838d1b71844 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 22 Jul 2013 10:35:12 +0200 Subject: [PATCH] Enhance navigation. --- share/templates/customer/details.tt | 3 ++- share/templates/subscriber/list.tt | 2 +- share/templates/subscriber/master.tt | 9 ++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/share/templates/customer/details.tt b/share/templates/customer/details.tt index 743897851c..d33debd33f 100644 --- a/share/templates/customer/details.tt +++ b/share/templates/customer/details.tt @@ -80,7 +80,8 @@
- Preferences + Details + Preferences
diff --git a/share/templates/subscriber/list.tt b/share/templates/subscriber/list.tt index a7cc16af14..b418c2978f 100644 --- a/share/templates/subscriber/list.tt +++ b/share/templates/subscriber/list.tt @@ -14,7 +14,7 @@ helper.dt_buttons = [ { name = 'Terminate', uri = "/subscriber/'+full.id+'/terminate", class = 'btn-small btn-secondary', icon = 'icon-trash', condition = 'full.status != "terminated"' }, - { name = 'Preferences', uri = "/subscriber/'+full.id+'/preferences", class = 'btn-small btn-tertiary', icon = 'icon-list', condition = 'full.status != "terminated"' }, + { name = 'Details', uri = "/subscriber/'+full.id+'/details", class = 'btn-small btn-tertiary', icon = 'icon-th-list', condition = 'full.status != "terminated"' }, { name = 'Customer', uri = "/customer/'+full.contract_id+'/details", class = 'btn-small btn-tertiary', icon = 'icon-user' }, ]; helper.top_buttons = [ diff --git a/share/templates/subscriber/master.tt b/share/templates/subscriber/master.tt index 6d7029e3df..34f41b03da 100644 --- a/share/templates/subscriber/master.tt +++ b/share/templates/subscriber/master.tt @@ -1,5 +1,12 @@ [% site_config.title = 'Subscriber ' _ subscriber.username _ '@' _ subscriber.domain.domain -%] +
+ + Preferences + Customer + +
+ [% IF messages -%]
[% FOREACH m IN messages -%] @@ -32,7 +39,7 @@ [% subscriber.contract.id %]