This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iteration group: work in progress: implementing maintainers
- Loading branch information
1 parent
64a0297
commit 68fba86
Showing
8 changed files
with
143 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
server/zanata-war/src/main/webapp/version-group/assign_maintainer.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<ui:composition xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:s="http://jboss.com/products/seam/taglib" | ||
xmlns:ui="http://java.sun.com/jsf/facelets" | ||
xmlns:f="http://java.sun.com/jsf/core" | ||
xmlns:h="http://java.sun.com/jsf/html" | ||
xmlns:rich="http://richfaces.org/rich" | ||
xmlns:a4j="http://richfaces.org/a4j" | ||
template="../WEB-INF/layout/template.xhtml"> | ||
|
||
<ui:define name="page_title">#{versionGroupHome.instance.name} - Add Maintainer</ui:define> | ||
<ui:define name="left_content"> | ||
<rich:panel> | ||
<f:facet name="header">#{messages['jsf.Actions']}</f:facet> | ||
<s:link styleClass="action_link" view="/project/maintainerdetail.xhtml" | ||
value="#{messages['jsf.AddMaintainer']}" | ||
/> | ||
</rich:panel> | ||
</ui:define> | ||
|
||
<ui:define name="center_content"> | ||
|
||
<script type="text/javascript"> | ||
function confirmDelete() | ||
{ | ||
return confirm("#{messages['jsf.AreYouSureYouWishToDeleteThisPersonThisActionCannotBeUndone']}"); | ||
} | ||
</script> | ||
<rich:panel rendered="#{projectMaintainerManageAction.checkPermission('update')}"> | ||
<f:facet name="header">#{messages['jsf.ProjectMaintainerManager']}</f:facet> | ||
<h:messages /> | ||
|
||
<h:form> | ||
<s:token allowMultiplePosts="true" /> | ||
<rich:dataTable | ||
id="threads" | ||
value="#{allList}" | ||
var="maintainer"> | ||
|
||
<rich:column width="auto"> | ||
<f:facet name="header">#{messages['jsf.Username']}</f:facet> | ||
#{maintainer.account.username} | ||
</rich:column> | ||
<rich:column width="auto"> | ||
<f:facet name="header">#{messages['jsf.Name']}</f:facet> | ||
#{maintainer.name} | ||
</rich:column> | ||
<rich:column width="auto"> | ||
<f:facet name="header">#{messages['jsf.Email']}</f:facet> | ||
#{maintainer.email} | ||
</rich:column> | ||
<rich:column width="auto"> | ||
<f:facet name="header">#{messages['jsf.Actions']}</f:facet> | ||
<h:commandLink value="#{messages['jsf.Remove']}" action="#{projectMaintainerManageAction.deleteMaintainer(projectMaintainerManageAction.selectedPerson)}" | ||
onclick="return confirmDelete()"/> | ||
</rich:column> | ||
</rich:dataTable> | ||
</h:form> | ||
</rich:panel> | ||
</ui:define> | ||
|
||
</ui:composition> |
20 changes: 20 additions & 0 deletions
20
server/zanata-war/src/main/webapp/version-group/edit.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<ui:composition xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:s="http://jboss.com/products/seam/taglib" | ||
xmlns:ui="http://java.sun.com/jsf/facelets" | ||
xmlns:f="http://java.sun.com/jsf/core" | ||
xmlns:h="http://java.sun.com/jsf/html" | ||
xmlns:rich="http://richfaces.org/rich" | ||
template="../WEB-INF/layout/template.xhtml"> | ||
|
||
<ui:define name="page_title">#{versionGroupHome.instance.name} - Edit</ui:define> | ||
<ui:define name="center_content"> | ||
<rich:jQuery selector="#tab_version_groups" query="addClass('ui-tabs-selected')" /> | ||
<h1>#{versionGroupHome.instance.name}</h1> | ||
|
||
<ui:include src="../WEB-INF/layout/version_group_edit_form.xhtml" /> | ||
|
||
</ui:define> | ||
|
||
</ui:composition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters