Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz1013513 - Fix incorrect url to download version TMX.
Browse files Browse the repository at this point in the history
Also did a bit of UI refactoring since there is more space now on all screens.
  • Loading branch information
Carlos A. Munoz committed Oct 1, 2013
1 parent 886883d commit 695b2d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion zanata-war/src/main/resources/messages.properties
Expand Up @@ -309,14 +309,15 @@ jsf.GroupName=Group Name
jsf.SelectGroup=Select group
jsf.Select=Select
jsf.ExportTMX=Export TMX
jsf.ExportTMXIter=Export project version to TMX
jsf.ConfirmExportTMXIter=Are you sure you want to export this project version to TMX?


#------ [home] > Projects > [project-id] > [version-id] > Source Documents ------
#------ [home] > Projects > [project-id] > [version-id] > Documents ([locale]) ------
jsf.pager.NextPage=next
jsf.pager.PreviousPage=prev

jsf.iteration.ExportTMXIter=Export translated project version to TMX
jsf.iteration.files.NoFiles=No Files Available
! local directory path where a document is located within the project
jsf.iteration.files.Path=Path
Expand Down
17 changes: 9 additions & 8 deletions zanata-war/src/main/webapp/iteration/view.xhtml
Expand Up @@ -18,9 +18,7 @@
<script type="text/javascript">
function submitSearchOnEnter(e) {
if (e.keyCode == 13) {
#{rich:element('searchBtn')}
.
click();
#{rich:element('searchBtn')}.click();
return false;
}
}
Expand Down Expand Up @@ -93,14 +91,17 @@
<f:param name="localeId" value="#{status.locale}"/>
<span class="icon-docs icon"/>
</s:link>
</rich:column>
<rich:column id="export"
rendered="#{identity.loggedIn}"
styleClass="#{status.userInLanguageTeam ? 'highlighted_datatable_row' : ''} centered">
<f:facet name="header">#{messages['jsf.ExportTMX']}</f:facet>
<h:outputLink id="exportTMXIterLink" styleClass="table_icon_link"
title="#{messages['jsf.ExportTMXIter']}"
title="#{messages['jsf.iteration.ExportTMXIter']}"
onclick="return confirm('#{messages['jsf.ConfirmExportTMXIter']}')"
value="#{request.contextPath}/rest/tm/projects/#{viewAllStatusAction.projectSlug}/iterations/#{viewAllStatusAction.iterationSlug}?locale=#{stats.locale}">
<span class="icon-export-3 icon"/>
value="#{request.contextPath}/rest/tm/projects/#{viewAllStatusAction.projectSlug}/iterations/#{viewAllStatusAction.iterationSlug}?locale=#{status.locale}">
<span class="icon-download icon"/>
</h:outputLink>
<ui:remove>
</ui:remove>
</rich:column>
<rich:column
styleClass="#{status.userInLanguageTeam ? 'highlighted_datatable_row' : ''}">
Expand Down

0 comments on commit 695b2d5

Please sign in to comment.