1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/399e97a26d02/ changeset: 399e97a26d02 user: dan date: 2012-10-15 17:29:57 summary: Make BioStar links configurable, off by default, and purposely undocumented (until fully implemented). affected #: 2 files diff -r e93cbadb089348fc00734a3e6693e179e0716b5e -r 399e97a26d027135493b9a8bc086d495af190abf lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -231,6 +231,7 @@ amqp_config = {} for k, v in amqp_config: self.amqp[k] = v + self.biostar = kwargs.get( 'biostar', None ) self.running_functional_tests = string_as_bool( kwargs.get( 'running_functional_tests', False ) ) def __read_tool_job_config( self, global_conf_parser, section, key ): try: diff -r e93cbadb089348fc00734a3e6693e179e0716b5e -r 399e97a26d027135493b9a8bc086d495af190abf templates/tool_form.mako --- a/templates/tool_form.mako +++ b/templates/tool_form.mako @@ -301,10 +301,12 @@ %else: <div class="toolFormTitle">${tool.name} ${tool_version_select_field.get_html()} %endif - <!-- BioStar links --> - <a href="http://slyfox.bx.psu.edu:8080/new/post/tagged/${low_tool_name}" target="galaxy_main" class="icon-button general-question tooltip close-side-panels" data-original-title="Ask a tool related question"></a> - <a href="http://slyfox.bx.psu.edu:8080/show/tag/${low_tool_name}/" target="galaxy_main" class="icon-button tag-question tooltip close-side-panels" data-original-title="See tool related posts" ></a> - <!-- End of BioStar links --> + %if trans.app.config.biostar: + <!-- BioStar links --> + <a href="${trans.app.config.biostar}/new/post/tagged/${low_tool_name}" target="galaxy_main" class="icon-button general-question tooltip close-side-panels" data-original-title="Ask a tool related question"></a> + <a href="${trans.app.config.biostar}/show/tag/${low_tool_name}/" target="galaxy_main" class="icon-button tag-question tooltip close-side-panels" data-original-title="See tool related posts" ></a> + <!-- End of BioStar links --> + %endif </div><div class="toolFormBody"><input type="hidden" name="refresh" value="refresh"> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.