Skip to content

Commit

Permalink
Change output view Node Output to Compact, update descriptions, and u…
Browse files Browse the repository at this point in the history
…se i18n.
  • Loading branch information
gschueler committed Jan 5, 2011
1 parent c41c09e commit 2269211
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions rundeckapp/grails-app/i18n/messages.properties
Expand Up @@ -241,3 +241,7 @@ resource.metadata.entity.tags=Tags
user.authorizations.title=Authorizations

button.action.Create=Create
#execution show pages
execution.show.mode.Tail.desc=View the last lines of the output file
execution.show.mode.Annotated.desc=View all output in grouped contexts sequentially
execution.show.mode.Compact.desc=View all output collated by node
12 changes: 6 additions & 6 deletions rundeckapp/grails-app/views/execution/show.gsp
Expand Up @@ -194,14 +194,14 @@
<tr>
<td class="buttonholder" style="padding:10px;">
<g:link class="tab ${followmode=='tail'?' selected':''}" style="padding:5px;"
title="View the last lines of the output file"
controller="execution" action="show" id="${execution.id}" params="${[lastlines:params.lastlines,mode:'tail'].findAll{it.value}}">Tail Output</g:link>
title="${g.message(code:'execution.show.mode.Tail.desc')}"
controller="execution" action="show" id="${execution.id}" params="${[lastlines:params.lastlines,mode:'tail'].findAll{it.value}}"><g:message code="execution.show.mode.Tail.title" default="Tail Output"/></g:link>
<g:link class="tab ${followmode=='browse'?' selected':''}" style="padding:5px;"
title="Load the entire file in grouped contexts "
controller="execution" action="show" id="${execution.id}" params="[mode:'browse']">Annotated</g:link>
title="${g.message(code:'execution.show.mode.Annotated.desc')}"
controller="execution" action="show" id="${execution.id}" params="[mode:'browse']"><g:message code="execution.show.mode.Annotated.title" default="Annotated"/></g:link>
<g:link class="tab ${followmode=='node'?' selected':''}" style="padding:5px;"
title="Load the entire file in grouped contexts "
controller="execution" action="show" id="${execution.id}" params="[mode:'node']">Node Output</g:link>
title="${g.message(code:'execution.show.mode.Compact.desc')}"
controller="execution" action="show" id="${execution.id}" params="[mode:'node']"><g:message code="execution.show.mode.Compact.title" default="Compact"/></g:link>

<span id="fullviewopts" style="${followmode!='browse'?'display:none':''}">
<input
Expand Down
8 changes: 4 additions & 4 deletions rundeckapp/grails-app/views/execution/showFragment.gsp
Expand Up @@ -62,14 +62,14 @@
<tr>
<td class="buttonholder" style="padding:10px;">
<g:link class="tab ${followmode=='tail'?' selected':''} out_setmode_tail out_setmode" style="padding:5px;"
title="View the last lines of the output file"
title="${g.message(code:'execution.show.mode.Tail.desc')}"
controller="execution" action="show" id="${execution.id}" params="${[lastlines:params.lastlines,mode:'tail'].findAll{it.value}}">Tail Output</g:link>
<g:link class="tab ${followmode=='browse'?' selected':''} out_setmode_browse out_setmode" style="padding:5px;"
title="Load the entire file in grouped contexts "
title="${g.message(code:'execution.show.mode.Annotated.desc')}"
controller="execution" action="show" id="${execution.id}" params="[mode:'browse']">Annotated</g:link>
<g:link class="tab ${followmode=='node'?' selected':''} out_setmode_node out_setmode" style="padding:5px;"
title="Load the entire file in grouped contexts "
controller="execution" action="show" id="${execution.id}" params="[mode:'node']">Node Output</g:link>
title="${g.message(code:'execution.show.mode.Compact.desc')}"
controller="execution" action="show" id="${execution.id}" params="[mode:'node']"><g:message code="execution.show.mode.Compact.title" default="Compact"/></g:link>

<span id="fullviewopts" style="${followmode!='browse'?'display:none':''}" class="opt_mode_browse opt_mode">
<label
Expand Down

0 comments on commit 2269211

Please sign in to comment.