1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/2f684dfa8d47/ changeset: 2f684dfa8d47 user: rmarenco date: 2012-09-07 01:08:27 summary: Added links to BioStar in the Help Menu and in tool forms affected #: 6 files diff -r 5c09dfcc62c27857e0653c3a95df24c6fb316baf -r 2f684dfa8d474560f241388bbb1fec5c612eca75 static/june_2007_style/base.less --- a/static/june_2007_style/base.less +++ b/static/june_2007_style/base.less @@ -1783,3 +1783,17 @@ .opacity(80); } } + +.icon-button.general-question{ + background: url(question-octagon-frame.png) no-repeat 0px 0px; + margin-top: 3px; + margin-right: 4px; + float: right; +} + +.icon-button.tag-question{ + background: url(question-balloon.png) no-repeat 0px 0px; + margin-top: 3px; + margin-right: 4px; + float: right; +} diff -r 5c09dfcc62c27857e0653c3a95df24c6fb316baf -r 2f684dfa8d474560f241388bbb1fec5c612eca75 static/june_2007_style/blue/base.css --- a/static/june_2007_style/blue/base.css +++ b/static/june_2007_style/blue/base.css @@ -910,3 +910,5 @@ div.historyItem-empty .state-icon{background:url(history-states.png) no-repeat 0px -25px;} div.historyItem-queued .state-icon{background:url(history-states.png) no-repeat 0px -50px;} .text-and-autocomplete-select{background:none;position:relative;padding-right:18px;}.text-and-autocomplete-select:after{margin-top:6px;position:absolute;top:2px;right:6px;width:10px;height:10px;display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;content:"";opacity:0.3;filter:alpha(opacity=30);opacity:0.3;filter:alpha(opacity=30);opacity:0.8;filter:alpha(opacity=80);opacity:0.8;filter:alpha(opacity=80);} +.icon-button.general-question{background:url(question-octagon-frame.png) no-repeat 0px 0px;margin-top:3px;margin-right:4px;float:right;} +.icon-button.tag-question{background:url(question-balloon.png) no-repeat 0px 0px;margin-top:3px;margin-right:4px;float:right;} diff -r 5c09dfcc62c27857e0653c3a95df24c6fb316baf -r 2f684dfa8d474560f241388bbb1fec5c612eca75 static/june_2007_style/blue/question-balloon.png Binary file static/june_2007_style/blue/question-balloon.png has changed diff -r 5c09dfcc62c27857e0653c3a95df24c6fb316baf -r 2f684dfa8d474560f241388bbb1fec5c612eca75 static/june_2007_style/blue/question-octagon-frame.png Binary file static/june_2007_style/blue/question-octagon-frame.png has changed diff -r 5c09dfcc62c27857e0653c3a95df24c6fb316baf -r 2f684dfa8d474560f241388bbb1fec5c612eca75 templates/tool_form.mako --- a/templates/tool_form.mako +++ b/templates/tool_form.mako @@ -12,7 +12,7 @@ </%def><%def name="javascripts()"> - ${h.js( "libs/jquery/jquery", "galaxy.panels", "galaxy.base", "libs/jquery/jquery.autocomplete", "libs/jquery/jstorage" )} + ${h.js( "libs/jquery/jquery", "galaxy.panels", "galaxy.base", "libs/jquery/jquery.autocomplete", "libs/jquery/jstorage", "libs/bootstrap" )} <script type="text/javascript"> $(function() { $(window).bind("refresh_on_change", function() { @@ -282,19 +282,30 @@ tool_url = tool.action[0] + h.url_for(tool.action[1]) %> +<% + # Set the tool name in lower case + low_tool_name = tool.name.lower() +%> + %if tool_id_version_message: ${render_msg( tool_id_version_message, 'warning' )} %endif <div class="toolForm" id="${tool.id}"><form id="tool_form" name="tool_form" action="${tool_url}" enctype="${tool.enctype}" target="${tool.target}" method="${tool.method}"> - %if tool.has_multiple_pages: - <div class="toolFormTitle">${tool.name} (step ${tool_state.page+1} of ${tool.npages})</div> - %elif not tool_version_select_field: - <div class="toolFormTitle">${tool.name} (version ${tool.version})</div> - %else: - <div class="toolFormTitle">${tool.name} ${tool_version_select_field.get_html()}</div> - %endif + <div class="toolFormTitle"> + %if tool.has_multiple_pages: + ${tool.name} (step ${tool_state.page+1} of ${tool.npages}) + %elif not tool_version_select_field: + ${tool.name} (version ${tool.version}) + %else: + ${tool.name} ${tool_version_select_field.get_html()} + %endif + <!-- BioStar links --> + <a href="http://slyfox.bx.psu.edu:8081/new/post/" 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:8081/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 --> + </div><div class="toolFormBody"><input type="hidden" name="refresh" value="refresh"><input type="hidden" name="tool_id" value="${tool.id}"> diff -r 5c09dfcc62c27857e0653c3a95df24c6fb316baf -r 2f684dfa8d474560f241388bbb1fec5c612eca75 templates/webapps/galaxy/base_panels.mako --- a/templates/webapps/galaxy/base_panels.mako +++ b/templates/webapps/galaxy/base_panels.mako @@ -120,6 +120,7 @@ ## Help tab. <% menu_options = [ + [_('Galaxy Q&A'), app.config.get( "q&a", "http://slyfox.bx.psu.edu:8081/" ), "galaxy_main" ], [_('Support'), app.config.get( "support_url", "http://wiki.g2.bx.psu.edu/Support" ), "_blank" ], [_('Galaxy Wiki'), app.config.get( "wiki_url", "http://wiki.g2.bx.psu.edu/" ), "_blank" ], [_('Video tutorials (screencasts)'), app.config.get( "screencasts_url", "http://galaxycast.org" ), "_blank" ], 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.