From 68a83ce08395fabf9c388fd0d8fa84cd4ba85e85 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Tue, 14 Nov 2017 13:28:38 -0500 Subject: [PATCH] dataset info: present decoded IDs for admins and add peek --- templates/show_params.mako | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/templates/show_params.mako b/templates/show_params.mako index 23edf509c6c..eb71abb3129 100644 --- a/templates/show_params.mako +++ b/templates/show_params.mako @@ -174,11 +174,26 @@ %if job: Tool Exit Code:${ job.exit_code | h } %endif - History Content API ID:${encoded_hda_id} + History Content API ID: + ${encoded_hda_id} + %if trans.user_is_admin(): + (${hda.id}) + %endif + %if job: - Job API ID:${trans.security.encode_id( job.id )} + Job API ID: + ${trans.security.encode_id( job.id )} + %if trans.user_is_admin(): + (${job.id}) + %endif + %endif - History API ID:${encoded_history_id} + History API ID: + ${encoded_history_id} + %if trans.user_is_admin(): + (${hda.history_id}) + %endif + %if hda.dataset.uuid: UUID:${hda.dataset.uuid} %endif @@ -279,6 +294,11 @@ ${ job.command_line | h } %endif +%if hda.peek: +

Dataset peek

+
${hda.peek}
+    
+%endif