Add a link to a tool's toolshed repository if it was installed from a ToolShed.

This commit is contained in:
Daniel Blankenberg
2014-04-10 15:55:26 -04:00
parent 4bea6249f3
commit c3a29f9fb6
+7
View File
@@ -378,3 +378,10 @@
</div>
</div>
%endif
%if tool.tool_shed_repository:
<% tool_url = tool.tool_shed_repository.get_sharable_url( tool.app ) %>
%if tool_url:
<br/>
${ render_msg( 'This tool was installed from a ToolShed, you may be able to find additional information by following this link: <a href="%s" target="_blank">%s</a>' % ( tool_url, tool_url ), 'info' ) }
%endif
%endif