From d8b88e60f8efdcd9648ea16268ee3dd627fd5225 Mon Sep 17 00:00:00 2001
From: Patrick Huang
Date: Thu, 6 Aug 2015 15:57:26 +1000
Subject: [PATCH 01/15] replace all s:link with h:link
---
.../WEB-INF/layout/dashboard/projects.xhtml | 12 ++--
.../WEB-INF/layout/dashboard/settings.xhtml | 8 +--
.../WEB-INF/layout/project/versions-tab.xhtml | 22 ++++----
.../layout/version-group/settings-tab.xhtml | 4 +-
.../WEB-INF/layout/version/groups-tab.xhtml | 14 ++---
.../main/webapp/WEB-INF/template/banner.xhtml | 56 +++++++++----------
.../webapp/WEB-INF/template/breadcrumbs.xhtml | 8 +--
.../google_password_reset_request.xhtml | 4 +-
.../webapp/account/inactive_account.xhtml | 4 +-
.../src/main/webapp/account/login.xhtml | 20 +++----
.../main/webapp/account/password_reset.xhtml | 4 +-
.../account/password_reset_request.xhtml | 4 +-
.../src/main/webapp/account/register.xhtml | 8 +--
zanata-war/src/main/webapp/admin/home.xhtml | 54 +++++++++---------
.../main/webapp/admin/processmanager.xhtml | 2 +-
.../src/main/webapp/admin/roledetail.xhtml | 8 +--
.../src/main/webapp/admin/rolemanager.xhtml | 10 +++-
.../main/webapp/admin/roleruledetails.xhtml | 4 +-
.../src/main/webapp/admin/rolerules.xhtml | 15 +++--
zanata-war/src/main/webapp/admin/search.xhtml | 2 +-
.../webapp/admin/server_configuration.xhtml | 2 +-
zanata-war/src/main/webapp/admin/stats.xhtml | 4 +-
.../src/main/webapp/admin/userdetail.xhtml | 8 +--
.../src/main/webapp/admin/usermanager.xhtml | 2 +-
.../src/main/webapp/glossary/view.xhtml | 4 +-
zanata-war/src/main/webapp/home.xhtml | 7 +--
.../src/main/webapp/iteration/view.xhtml | 16 +++---
.../src/main/webapp/language/home.xhtml | 4 +-
.../src/main/webapp/language/language.xhtml | 2 +-
.../src/main/webapp/profile/create_user.xhtml | 5 +-
.../main/webapp/project/add_iteration.xhtml | 10 ++--
.../main/webapp/project/create_project.xhtml | 4 +-
zanata-war/src/main/webapp/project/home.xhtml | 22 ++++----
.../src/main/webapp/project/project.xhtml | 2 +-
zanata-war/src/main/webapp/tm/create.xhtml | 8 +--
zanata-war/src/main/webapp/tm/home.xhtml | 14 ++---
.../version-group/create_version_group.xhtml | 4 +-
.../src/main/webapp/version-group/home.xhtml | 19 +++----
.../webapp/version-group/version_group.xhtml | 4 +-
39 files changed, 202 insertions(+), 202 deletions(-)
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/projects.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/projects.xhtml
index d22c63fe05..2edbd6a010 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/projects.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/projects.xhtml
@@ -75,23 +75,23 @@
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/settings.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/settings.xhtml
index 08d030036c..3e4be1f769 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/settings.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/dashboard/settings.xhtml
@@ -182,9 +182,9 @@
-
+
#{msgs['jsf.dashboard.settings.mergeAccounts.label']}
-
+
#{msgs['jsf.dashboard.settings.mergeAccount.info.label'] }
@@ -254,9 +254,9 @@
-
+ outcome="/language/home.xhtml"/>
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml
index e5fa4eea9a..f03366ce00 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml
@@ -56,12 +56,12 @@
-
+ outcome="/project/add_iteration.xhtml">
-
+
@@ -92,12 +92,12 @@
-
+ outcome="/project/add_iteration.xhtml">
-
+
@@ -142,15 +142,15 @@
-
-
+
-
@@ -250,7 +250,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/settings-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/settings-tab.xhtml
index 6804d6e351..dbeba1d7e7 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/settings-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/settings-tab.xhtml
@@ -154,14 +154,14 @@
value="#{versionGroupHome.getSortedInstanceProjectIterations()}"
var="version" varStatus="status">
-
+
#{version.project.name}
#{msgs['jsf.group.ArchivedVersionNotIncluded']}
-
+
-
+ outcome="/version-group/home.xhtml"
+ >
-
+
@@ -51,10 +51,10 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml b/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
index 82d805535d..30e2d5ab4b 100644
--- a/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
@@ -13,10 +13,10 @@
@@ -40,53 +40,53 @@
onSelectItem="selectItem"
inputClass="form--search__input js-form--search__input">
-
#{result.project.name}
-
+
-
#{result.account.username}
-
+
-
+
Search Zanata for
'#{zanataSearch.autocomplete.query}'
-
+
- #{msgs['jsf.Projects']}
+ #{msgs['jsf.Projects']}
-
+
- #{msgs['jsf.Groups']}
+ #{msgs['jsf.Groups']}
-
+
- #{msgs['jsf.Languages']}
+ #{msgs['jsf.Languages']}
-
+
- #{msgs['jsf.Glossary']}
+ #{msgs['jsf.Glossary']}
-
+
@@ -115,11 +115,11 @@
-
-
+
-
+
#{msgs['jsf.TotalSourceContains']}
#{versionHomeAction.overallStatistic.total} words
-
+
@@ -218,7 +218,7 @@
class="stats__unit txt--lowercase"> #{msgs['jsf.stats.Approved']}
-
+
-
+
@@ -306,7 +306,7 @@
-
+
-
+
-
@@ -334,8 +334,8 @@
-
+
-
-
+
@@ -423,29 +423,29 @@
src="../WEB-INF/layout/version/documents-tab.xhtml"/>
-
+
-
+
-
-
+
-
-
+
-
+
#{msgs['jsf.iteration.documentType.select']}
@@ -487,7 +487,7 @@
itemLabel="#{documentType.name()}"
itemValue="#{documentType.name()}"/>
-
+
-
+
-
+
#{language.localeId.id} [#{language.retrieveNativeName()}]
@@ -116,9 +116,9 @@
actionBean="#{languagesAction}"/>
-
+
-
+
diff --git a/zanata-war/src/main/webapp/language/language.xhtml b/zanata-war/src/main/webapp/language/language.xhtml
index 9eacbc3d12..e34268cc6d 100644
--- a/zanata-war/src/main/webapp/language/language.xhtml
+++ b/zanata-war/src/main/webapp/language/language.xhtml
@@ -92,7 +92,7 @@
-
+
@@ -111,8 +111,8 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
@@ -165,7 +165,7 @@
-
+
@@ -173,20 +173,20 @@
-
+
-
+
-
+
-
+
-
-
+
+
diff --git a/zanata-war/src/main/webapp/profile/create_user.xhtml b/zanata-war/src/main/webapp/profile/create_user.xhtml
index d5fabb5cad..30980379c9 100644
--- a/zanata-war/src/main/webapp/profile/create_user.xhtml
+++ b/zanata-war/src/main/webapp/profile/create_user.xhtml
@@ -20,12 +20,12 @@
#{msgs['jsf.Signup']}
-
#{msgs['jsf.Signup']}
-
+
#{msgs['jsf.NewUser.Label']}
@@ -76,12 +76,12 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -153,7 +153,7 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/resources/zanata/checkbox.xhtml b/zanata-war/src/main/webapp/resources/zanata/checkbox.xhtml
index 2e38ab6e6e..98415d673f 100644
--- a/zanata-war/src/main/webapp/resources/zanata/checkbox.xhtml
+++ b/zanata-war/src/main/webapp/resources/zanata/checkbox.xhtml
@@ -3,6 +3,7 @@
@@ -33,15 +34,15 @@
-
+
@@ -81,7 +82,7 @@
rendered="#{not (cc.attrs.bottomPanel and cc.attrs.actionBean.totalRecords eq 0)}">
-
-
+
-
-
#{cc.attrs.actionBean.pageStartIdx+1}-#{cc.attrs.actionBean.pageEndIdx+1} of
#{cc.attrs.actionBean.totalRecords}
-
-
+
#{cc.attrs.actionBean.totalRecords}
-
-
+
+
-
+
#{msgs['jsf.Search']}
-
+
diff --git a/zanata-war/src/main/webapp/resources/zanata/maintainers-tab.xhtml b/zanata-war/src/main/webapp/resources/zanata/maintainers-tab.xhtml
index befde58661..74f414b479 100644
--- a/zanata-war/src/main/webapp/resources/zanata/maintainers-tab.xhtml
+++ b/zanata-war/src/main/webapp/resources/zanata/maintainers-tab.xhtml
@@ -49,7 +49,7 @@
#{msgs['jsf.NoMaintainers']}
-
+
@@ -57,7 +57,7 @@
-
+
#{msgs['jsf.search.NoResult']}
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/zanata-war/src/main/webapp/resources/zanata/project-label.xhtml b/zanata-war/src/main/webapp/resources/zanata/project-label.xhtml
index f2925fcd93..49d6de3753 100644
--- a/zanata-war/src/main/webapp/resources/zanata/project-label.xhtml
+++ b/zanata-war/src/main/webapp/resources/zanata/project-label.xhtml
@@ -23,6 +23,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -34,23 +35,23 @@
-
+
#{cc.attrs.project.name}
-
-
+
+
#{cc.attrs.project.name}
-
+
-
+
-
-
+
+
#{cc.attrs.project.name}
-
+
-
+
-
+
diff --git a/zanata-war/src/main/webapp/resources/zanata/statistic.xhtml b/zanata-war/src/main/webapp/resources/zanata/statistic.xhtml
index 098ecf5e1a..aacfc751e9 100644
--- a/zanata-war/src/main/webapp/resources/zanata/statistic.xhtml
+++ b/zanata-war/src/main/webapp/resources/zanata/statistic.xhtml
@@ -17,7 +17,7 @@
-
+
@@ -27,7 +27,7 @@
value="#{cc.attrs.value.remainingHours}"/>
-
+
#{msgs['jsf.stats.Untranslated']}
-
+
-
+
#{msgs['jsf.NoContent']}
-
-
+
+
-
+
#{msgs['jsf.NoContent']}
-
+
diff --git a/zanata-war/src/main/webapp/resources/zanata/version-label.xhtml b/zanata-war/src/main/webapp/resources/zanata/version-label.xhtml
index 2ef5fc3006..c81fedda9b 100644
--- a/zanata-war/src/main/webapp/resources/zanata/version-label.xhtml
+++ b/zanata-war/src/main/webapp/resources/zanata/version-label.xhtml
@@ -2,6 +2,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -13,23 +14,23 @@
-
+
#{cc.attrs.version.slug}
-
-
+
+
#{cc.attrs.version.slug}
-
+
-
+
-
-
+
+
#{cc.attrs.version.slug}
-
+
-
+
-
+
diff --git a/zanata-war/src/main/webapp/tm/home.xhtml b/zanata-war/src/main/webapp/tm/home.xhtml
index d1997a8874..02163df912 100644
--- a/zanata-war/src/main/webapp/tm/home.xhtml
+++ b/zanata-war/src/main/webapp/tm/home.xhtml
@@ -198,13 +198,13 @@
-
+
#{msgs['jsf.Clear']}
-
+
-
+
#{msgs['jsf.Delete']}
-
+
-
+
#{msgs['jsf.transmemory.Clearing.Message']}
-
-
+
+
#{msgs['jsf.transmemory.createdOn']}
@@ -265,7 +265,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/version-group/home.xhtml b/zanata-war/src/main/webapp/version-group/home.xhtml
index 35e1b0a2fb..b4e4b989b2 100644
--- a/zanata-war/src/main/webapp/version-group/home.xhtml
+++ b/zanata-war/src/main/webapp/version-group/home.xhtml
@@ -30,7 +30,7 @@
-
-
+
diff --git a/zanata-war/src/main/webapp/version-group/version_group.xhtml b/zanata-war/src/main/webapp/version-group/version_group.xhtml
index 3a27cce25a..c15399544b 100644
--- a/zanata-war/src/main/webapp/version-group/version_group.xhtml
+++ b/zanata-war/src/main/webapp/version-group/version_group.xhtml
@@ -116,7 +116,7 @@
-
+
#{msgs['jsf.TotalSourceContains']}
#{versionGroupHomeAction.overallStatistic.total}
@@ -149,7 +149,7 @@
value="#{versionGroupHomeAction.overallStatistic}"
type="large"/>
-
+
@@ -203,7 +203,7 @@
-
-
+
-
-
+
@@ -262,21 +262,21 @@
PermissionToUpdate="#{identity.hasPermission(versionGroupHome.instance, 'update')}"/>
-
-
+
-
-
+
From 6972e760d293f1789f6bf1549708b9de73b15503 Mon Sep 17 00:00:00 2001
From: Patrick Huang
Date: Mon, 10 Aug 2015 15:36:35 +1000
Subject: [PATCH 06/15] remove unused jsf page
---
.../src/main/webapp/WEB-INF/layout/edit.xhtml | 26 -------------------
1 file changed, 26 deletions(-)
delete mode 100644 zanata-war/src/main/webapp/WEB-INF/layout/edit.xhtml
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/edit.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/edit.xhtml
deleted file mode 100644
index 0372a3cd82..0000000000
--- a/zanata-war/src/main/webapp/WEB-INF/layout/edit.xhtml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
- *
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
From 92f842f180e6d675b643166561d2d30dbf758ee8 Mon Sep 17 00:00:00 2001
From: Patrick Huang
Date: Thu, 13 Aug 2015 17:07:51 +1000
Subject: [PATCH 07/15] replace s:div with h:panelGroup
---
.../layout/copy_trans_inline_modal.xhtml | 4 +--
.../layout/delete_confirmation_modal.xhtml | 4 +--
.../main/webapp/WEB-INF/layout/field.xhtml | 4 +--
.../WEB-INF/layout/language/members-tab.xhtml | 12 +++----
.../layout/language/new_language_modal.xhtml | 8 ++---
.../layout/language/request_join_modal.xhtml | 4 +--
.../layout/project/settings-tab-general.xhtml | 16 ++++-----
.../project/settings-tab-languages.xhtml | 4 +--
.../WEB-INF/layout/project/settings-tab.xhtml | 8 ++---
.../project/validation-settings-block.xhtml | 4 +--
.../WEB-INF/layout/project/versions-tab.xhtml | 16 ++++-----
.../WEB-INF/layout/search/projects-tab.xhtml | 4 +--
.../WEB-INF/layout/search/users-tab.xhtml | 4 +--
.../layout/version-group/languages-tab.xhtml | 20 +++++------
.../layout/version-group/projects-tab.xhtml | 16 ++++-----
.../version-group/request_join_modal.xhtml | 4 +--
.../layout/version/documents-tab.xhtml | 28 +++++++--------
.../WEB-INF/layout/version/edit_form.xhtml | 12 +++----
.../WEB-INF/layout/version/groups-tab.xhtml | 8 ++---
.../layout/version/languages-tab.xhtml | 36 +++++++++----------
.../layout/version/merge_trans_modal.xhtml | 12 +++----
.../version/settings-tab-languages.xhtml | 4 +--
.../WEB-INF/layout/version/settings-tab.xhtml | 20 +++++------
.../version/upload_translation_modal.xhtml | 8 ++---
.../version/zip_download_progress_modal.xhtml | 8 ++---
.../main/webapp/WEB-INF/template/banner.xhtml | 4 +--
.../src/main/webapp/account/login.xhtml | 8 ++---
.../account/password_reset_request.xhtml | 4 +--
.../src/main/webapp/account/register.xhtml | 8 ++---
.../main/webapp/admin/processmanager.xhtml | 8 ++---
.../src/main/webapp/admin/rolerules.xhtml | 4 +--
zanata-war/src/main/webapp/admin/search.xhtml | 12 +++----
.../webapp/admin/server_configuration.xhtml | 12 +++----
zanata-war/src/main/webapp/admin/stats.xhtml | 24 ++++++-------
.../src/main/webapp/admin/userdetail.xhtml | 8 ++---
.../src/main/webapp/dashboard/home.xhtml | 6 ++--
.../src/main/webapp/glossary/view.xhtml | 12 +++----
.../src/main/webapp/iteration/view.xhtml | 16 ++++-----
.../src/main/webapp/language/home.xhtml | 4 +--
.../src/main/webapp/language/language.xhtml | 16 ++++-----
.../src/main/webapp/profile/create_user.xhtml | 4 +--
zanata-war/src/main/webapp/project/home.xhtml | 4 +--
.../src/main/webapp/project/project.xhtml | 12 +++----
.../resources/zanata/autocomplete.xhtml | 4 +--
.../webapp/resources/zanata/list-filter.xhtml | 12 +++----
.../resources/zanata/maintainers-tab.xhtml | 8 ++---
.../webapp/resources/zanata/progressBar.xhtml | 26 +++++++-------
.../zanata/version-copy-action-loader.xhtml | 18 +++++-----
zanata-war/src/main/webapp/tm/home.xhtml | 20 +++++------
.../src/main/webapp/version-group/home.xhtml | 4 +--
.../webapp/version-group/version_group.xhtml | 8 ++---
51 files changed, 266 insertions(+), 268 deletions(-)
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline_modal.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline_modal.xhtml
index 0cbc39489b..e49e23abe0 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline_modal.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/copy_trans_inline_modal.xhtml
@@ -25,7 +25,7 @@
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/delete_confirmation_modal.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/delete_confirmation_modal.xhtml
index 2095c6ca1e..6780b666b5 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/delete_confirmation_modal.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/delete_confirmation_modal.xhtml
@@ -48,7 +48,7 @@
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/field.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/field.xhtml
index d7717e024e..c2b1d22cf5 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/field.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/field.xhtml
@@ -7,9 +7,9 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/language/members-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/language/members-tab.xhtml
index a27e89cca8..d96ac6eb2a 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/language/members-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/language/members-tab.xhtml
@@ -39,7 +39,7 @@
-
#{msgs['jsf.language.members.empty']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -66,7 +66,7 @@
-
@@ -85,7 +85,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/language/new_language_modal.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/language/new_language_modal.xhtml
index 7f4bbb23b7..9bd2d80180 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/language/new_language_modal.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/language/new_language_modal.xhtml
@@ -82,7 +82,7 @@
-
+
-
+
-
+
#{msgs['jsf.CountryCode']}#{languageManagerAction.ULocale.country}
@@ -127,7 +127,7 @@
#{msgs['jsf.NativeName']}#{languageManagerAction.ULocale.getDisplayName(languageManagerAction.ULocale)}
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-general.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-general.xhtml
index 3d52833908..0a893fb1a1 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-general.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-general.xhtml
@@ -83,8 +83,8 @@
-
-
+
#{msgs['jsf.project.readonly.Message']}
-
-
+
@@ -109,11 +109,11 @@
#{msgs['jsf.project.writable.Message']}
-
+
-
#{msgs['jsf.DeleteProject.Message']}
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-languages.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-languages.xhtml
index 509674c6a4..72df729726 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-languages.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab-languages.xhtml
@@ -13,7 +13,7 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml
index f418e23d73..908ee1116a 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml
@@ -169,14 +169,14 @@
-
+
-
-
-
+
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/validation-settings-block.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/validation-settings-block.xhtml
index e428edbd13..e03dec6b24 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/project/validation-settings-block.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/validation-settings-block.xhtml
@@ -40,7 +40,7 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml
index b6b6d13754..5c54797bfe 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/project/versions-tab.xhtml
@@ -86,7 +86,7 @@
-
#{msgs['jsf.NoVersions']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -128,8 +128,8 @@
-
-
+
@@ -186,7 +186,7 @@
-
+
@@ -251,7 +251,7 @@
value="#{projectHomeAction.getStatisticForVersion(version.slug)}"
rendered="#{projectHomeAction.pageRendered}"/>
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/search/projects-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/search/projects-tab.xhtml
index 3e7af54972..1830bef799 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/search/projects-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/search/projects-tab.xhtml
@@ -40,10 +40,10 @@
-
#{msgs['jsf.search.NoResult']}
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/search/users-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/search/users-tab.xhtml
index d91c62dcfd..9ecb83febc 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/search/users-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/search/users-tab.xhtml
@@ -40,10 +40,10 @@
-
#{msgs['jsf.search.NoResult']}
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml
index e5180bc350..fd01e9078f 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/languages-tab.xhtml
@@ -60,7 +60,7 @@
-
#{msgs['jsf.NoActiveLanguages']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -186,13 +186,13 @@
-
#{msgs['jsf.SelectALanguageFromList']}
-
+
-
#{msgs['jsf.NoProjectsInGroup']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml
index 4d9c385626..cbaf8ba4d7 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/projects-tab.xhtml
@@ -58,7 +58,7 @@
-
#{msgs['jsf.NoProjectsInGroup']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -192,7 +192,7 @@
-
#{msgs['jsf.NoActiveLanguages']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/request_join_modal.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/request_join_modal.xhtml
index 299d642970..efc5c85004 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version-group/request_join_modal.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version-group/request_join_modal.xhtml
@@ -76,7 +76,7 @@
[#{result.slug}]
-
+
#{msgs['jsf.NoVersions']}
@@ -91,7 +91,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version/documents-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version/documents-tab.xhtml
index b73682b0a0..b431b33907 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version/documents-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version/documents-tab.xhtml
@@ -74,7 +74,7 @@
-
#{msgs['jsf.iteration.NoDocumentInVersion']}
@@ -87,12 +87,12 @@
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -104,7 +104,7 @@
value="#{versionHomeAction.isPoDocument(document.docId) or !versionHomeAction.isPoDocument(document.docId) or versionHomeAction.hasOriginal(document.path, document.name) or versionHomeAction.documentUploadAllowed or versionHomeAction.documentRemovalAllowed}"/>
-
+
-
+
@@ -305,7 +305,7 @@
-
#{msgs['jsf.iteration.NoLanguagesInVersion']}
@@ -319,12 +319,12 @@
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -355,7 +355,7 @@
#{hLocale.localeId}
-
@@ -365,7 +365,7 @@
class="stats__figure">#{displayUnit.figure}
#{displayUnit.unit}
-
+
#{hLocale.localeId}
-
@@ -401,7 +401,7 @@
#{displayUnit.figure}
#{displayUnit.unit}
-
+
-
+
@@ -101,7 +101,7 @@
oncomplete="zanata.form.appendRadios(getProjectTypeId())"
disabled="#{versionHome.instance.projectType.name() eq versionHome.instance.project.defaultProjectType.name()}"/>
-
+
-
+
-
+
-
+
@@ -188,7 +188,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version/groups-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version/groups-tab.xhtml
index 6e1e4e1cf3..2946a667c2 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version/groups-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version/groups-tab.xhtml
@@ -26,7 +26,7 @@
-
#{msgs['jsf.NoGroups']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
-
#{msgs['jsf.NoActiveLanguages']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -172,7 +172,7 @@
-
-
+
@@ -257,13 +257,13 @@
-
#{msgs['jsf.SelectALanguageFromList']}
-
+
-
#{msgs['jsf.iteration.NoDocumentInVersion']}
-
+
-
#{msgs['jsf.search.NoResult']}
-
+
@@ -292,7 +292,7 @@
value="#{versionHomeAction.selectedLocale.active and (identity.loggedIn or versionHomeAction.isPoDocument(document.docId) or (versionHomeAction.knownProjectType and !versionHomeAction.isPoDocument(document.docId)) or versionHomeAction.hasOriginal(document.path, document.name) or (versionHomeAction.isFileUploadAllowed(versionHomeAction.selectedLocale) and versionHomeAction.isUserAllowedToTranslateOrReview(versionHomeAction.selectedLocale)))}"/>
-
+
-
+
#{document.path}
-
@@ -399,7 +399,7 @@
#{displayUnit.figure}
#{displayUnit.unit}
-
+
#{document.path}
-
@@ -425,7 +425,7 @@
#{displayUnit.figure}
#{displayUnit.unit}
-
+
-
+
-
+
@@ -131,7 +131,7 @@
itemValue="#{version.slug}" itemLabelEscaped="true"/>
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab-languages.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab-languages.xhtml
index d4c1304b40..67fb5e2034 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab-languages.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab-languages.xhtml
@@ -13,7 +13,7 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab.xhtml
index f6874a4a52..e0ef78022f 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version/settings-tab.xhtml
@@ -50,7 +50,7 @@
#{msgs['jsf.iteration.VersionSettings']}
-
+
#{msgs['jsf.copyVersion.versionSettingsDisabled']}
@@ -107,8 +107,8 @@
styleClass="l--push-right-half button--primary"/>
-
-
+
#{msgs['jsf.iteration.readonly.Message']}
-
-
+
@@ -139,11 +139,11 @@
#{msgs['jsf.iteration.writable.Message']}
-
+
-
@@ -152,9 +152,9 @@
#{msgs['jsf.iteration.delete.Message']}
-
+
-
+
@@ -368,7 +368,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/layout/version/upload_translation_modal.xhtml b/zanata-war/src/main/webapp/WEB-INF/layout/version/upload_translation_modal.xhtml
index 14577df69b..8dbc7f586c 100644
--- a/zanata-war/src/main/webapp/WEB-INF/layout/version/upload_translation_modal.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/layout/version/upload_translation_modal.xhtml
@@ -118,8 +118,8 @@
fileName="#{versionHomeAction.translationFileUpload.fileName}"/>
-
-
+
#{msgs['jsf.iteration.documentType.select']}
-
-
+
+
-
+
diff --git a/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml b/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
index 8b473dd7a3..d619de8eef 100644
--- a/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
+++ b/zanata-war/src/main/webapp/WEB-INF/template/banner.xhtml
@@ -149,7 +149,7 @@
-
+
#{msgs['jsf.Login']}
-
+
diff --git a/zanata-war/src/main/webapp/account/login.xhtml b/zanata-war/src/main/webapp/account/login.xhtml
index 13c4bb0dec..0680f4aa78 100644
--- a/zanata-war/src/main/webapp/account/login.xhtml
+++ b/zanata-war/src/main/webapp/account/login.xhtml
@@ -33,7 +33,7 @@
-
@@ -94,11 +94,11 @@
-
+
-
@@ -137,7 +137,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/account/password_reset_request.xhtml b/zanata-war/src/main/webapp/account/password_reset_request.xhtml
index 61d16027f4..b329bfda06 100644
--- a/zanata-war/src/main/webapp/account/password_reset_request.xhtml
+++ b/zanata-war/src/main/webapp/account/password_reset_request.xhtml
@@ -36,7 +36,7 @@
-
+
-
+
diff --git a/zanata-war/src/main/webapp/account/register.xhtml b/zanata-war/src/main/webapp/account/register.xhtml
index 7d8c8c668a..16aaa8f249 100644
--- a/zanata-war/src/main/webapp/account/register.xhtml
+++ b/zanata-war/src/main/webapp/account/register.xhtml
@@ -29,7 +29,7 @@
rendered="#{showGlobalMessages != 'false'}"/>
-
@@ -104,8 +104,8 @@
-
-
+
@@ -139,7 +139,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/admin/processmanager.xhtml b/zanata-war/src/main/webapp/admin/processmanager.xhtml
index fa399bc1bd..dffb9c74a4 100644
--- a/zanata-war/src/main/webapp/admin/processmanager.xhtml
+++ b/zanata-war/src/main/webapp/admin/processmanager.xhtml
@@ -31,7 +31,7 @@
-
+
-
+
-
#{msgs['jsf.processmanager.process.empty']}
-
+
diff --git a/zanata-war/src/main/webapp/admin/rolerules.xhtml b/zanata-war/src/main/webapp/admin/rolerules.xhtml
index 3a299aa290..5b970cc60c 100644
--- a/zanata-war/src/main/webapp/admin/rolerules.xhtml
+++ b/zanata-war/src/main/webapp/admin/rolerules.xhtml
@@ -53,7 +53,7 @@
#{msgs['jsf.rolerules.title']}
-
#{msgs['jsf.rolerules.norules']}
@@ -62,7 +62,7 @@
-
+
-
+
@@ -108,13 +108,13 @@
-
+
-
+
@@ -244,7 +244,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/admin/server_configuration.xhtml b/zanata-war/src/main/webapp/admin/server_configuration.xhtml
index 37a9f237ed..8159a8ad4e 100644
--- a/zanata-war/src/main/webapp/admin/server_configuration.xhtml
+++ b/zanata-war/src/main/webapp/admin/server_configuration.xhtml
@@ -140,8 +140,8 @@
-
-
+
+
#{msgs['jsf.config.LogEmailLevel']}
@@ -154,8 +154,8 @@
-
-
+
+
#{msgs['jsf.config.LogDestEmail']}
@@ -168,8 +168,8 @@
styleClass="txt--neutral" />
-
-
+
+
diff --git a/zanata-war/src/main/webapp/admin/stats.xhtml b/zanata-war/src/main/webapp/admin/stats.xhtml
index f0e0376817..18b7c9b419 100644
--- a/zanata-war/src/main/webapp/admin/stats.xhtml
+++ b/zanata-war/src/main/webapp/admin/stats.xhtml
@@ -45,7 +45,7 @@
#{msgs['jsf.Statistics']}
-
+
@@ -58,9 +58,9 @@
#{msgs['jsf.TotalReviewers']} #{adminStatsAction.totalReviewer}
-
+
-
+
#{msgs['jsf.TotalProjects']}
@@ -84,10 +84,10 @@
-
+
-
+
#{msgs['jsf.Versions']}
@@ -110,9 +110,9 @@
-
+
-
+
#{msgs['jsf.TotalDocuments']}
@@ -131,9 +131,9 @@
-
+
-
+
#{msgs['jsf.TotalTextFlows']}
@@ -153,9 +153,9 @@
-
+
-
+
#{msgs['jsf.TotalTextFlowTargets']}
@@ -188,7 +188,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/admin/userdetail.xhtml b/zanata-war/src/main/webapp/admin/userdetail.xhtml
index f1b93d407c..9befa7a45a 100644
--- a/zanata-war/src/main/webapp/admin/userdetail.xhtml
+++ b/zanata-war/src/main/webapp/admin/userdetail.xhtml
@@ -49,7 +49,7 @@
value="#{userAction.getEmail(userAction.username)}"/>
-
#{msgs['jsf.password.change']}
Show
-
+
-
#{msgs['jsf.ConfirmPassword']}
Show
-
+
diff --git a/zanata-war/src/main/webapp/profile/create_user.xhtml b/zanata-war/src/main/webapp/profile/create_user.xhtml
index 30980379c9..2e77287f01 100644
--- a/zanata-war/src/main/webapp/profile/create_user.xhtml
+++ b/zanata-war/src/main/webapp/profile/create_user.xhtml
@@ -51,7 +51,7 @@
-
+
#{msgs['jsf.Username']}
*
@@ -61,7 +61,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/project/home.xhtml b/zanata-war/src/main/webapp/project/home.xhtml
index 46da2df828..d865765259 100644
--- a/zanata-war/src/main/webapp/project/home.xhtml
+++ b/zanata-war/src/main/webapp/project/home.xhtml
@@ -77,7 +77,7 @@
-
+
-
+
-
+
#{projectHome.instance.name}
@@ -119,13 +119,13 @@
-
+
-
+
-
+
@@ -229,7 +229,7 @@
-
+
#{msgs['jsf.project.NoHomeContent']}
-
+
-
+
@@ -164,7 +164,7 @@
-
+
diff --git a/zanata-war/src/main/webapp/resources/zanata/list-filter.xhtml b/zanata-war/src/main/webapp/resources/zanata/list-filter.xhtml
index a5e95e133b..0602368fd6 100644
--- a/zanata-war/src/main/webapp/resources/zanata/list-filter.xhtml
+++ b/zanata-war/src/main/webapp/resources/zanata/list-filter.xhtml
@@ -75,13 +75,13 @@
-
-
-
+
-
+