From 936f8ac9f2c31171a2508b72b3b0ada8a88e4cce Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 5 Oct 2015 22:00:57 +0000 Subject: [PATCH] webstaff: teach volcopy editor how to be embeddable The route /eg/staff/cat/volcopy/$key/embedded will load the volume/copy editor in an embedded mode; specifically, [1] the navbar and record summary will not be displayed [2] "Save & Exit" becomes "Save changes" Signed-off-by: Galen Charlton --- Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 | 5 ++++- Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 | 14 ++++++++++++-- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 7 +++++++ 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 index cb40f2403f..519765ec2c 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_edit.tt2 @@ -52,7 +52,10 @@
- +
diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 index 0379fad2f1..f37726eef5 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_view.tt2 @@ -1,8 +1,18 @@ - + + + -