1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/93e463402081/ changeset: 93e463402081 user: dan date: 2011-10-20 15:37:02 summary: Allow specifying a help attribute for repeat parameter grouping. affected #: 3 files (-1 bytes) --- a/lib/galaxy/tools/__init__.py Wed Oct 19 16:47:25 2011 -0400 +++ b/lib/galaxy/tools/__init__.py Thu Oct 20 09:37:02 2011 -0400 @@ -814,7 +814,8 @@ if elem.tag == "repeat": group = Repeat() group.name = elem.get( "name" ) - group.title = elem.get( "title" ) + group.title = elem.get( "title" ) + group.help = elem.get( "help", None ) group.inputs = self.parse_input_elem( elem, enctypes, context ) group.default = int( elem.get( "default", 0 ) ) group.min = int( elem.get( "min", 0 ) ) --- a/lib/galaxy/tools/parameters/grouping.py Wed Oct 19 16:47:25 2011 -0400 +++ b/lib/galaxy/tools/parameters/grouping.py Thu Oct 20 09:37:02 2011 -0400 @@ -45,6 +45,7 @@ Group.__init__( self ) self.title = None self.inputs = None + self.help = None self.default = 0 self.min = None self.max = None --- a/templates/tool_form.mako Wed Oct 19 16:47:25 2011 -0400 +++ b/templates/tool_form.mako Thu Oct 20 09:37:02 2011 -0400 @@ -120,7 +120,13 @@ <% pass %> %elif input.type == "repeat": <div class="repeat-group"> - <div class="form-title-row"><strong>${input.title_plural}</strong></div> + <div class="form-title-row"><strong>${input.title_plural}</strong> + %if input.help: + <div class="toolParamHelp" style="clear: both;"> + ${input.help} + </div> + %endif + </div><% repeat_state = tool_state[input.name] %> %for i in range( len( repeat_state ) ): <div class="repeat-group-item"> 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.