Commit 48ee7671 authored by michael.simon's avatar michael.simon
Browse files

closes #97

parent b60eaeea
......@@ -30,15 +30,15 @@
<bw:inputText id="idpEntityIdField" label="IDP #{messages.entity_id}"
value="#{bulkUserImportBean.idpEntityId}" required="true" />
<bw:inputText id="saltField" label="Salt"
<bw:inputText id="saltField" label="#{messages.salt}"
value="#{bulkUserImportBean.salt}" required="true" />
<h:outputLabel for="uidField" value="UIDs (eine pro Zeile)"/>
<h:outputLabel for="uidField" value="#{messages.bulk_uid}"/>
<p:inputTextarea id="uidField" rows="12" cols="80" autoResize="false"
value="#{bulkUserImportBean.uidField}" required="true"/>
</p:panelGrid>
<p:commandButton action="#{bulkUserImportBean.fillTable()}" value="Tabelle aufbauen"
<p:commandButton action="#{bulkUserImportBean.fillTable()}" value="#{messages.bulk_build_table}"
update=":form:importPanel"/>
</p:panel>
</div>
......@@ -48,12 +48,12 @@
<p:dataTable id="imports" var="importUser" value="#{bulkUserImportBean.importUserList}"
rowKey="#{importUser.uid}" selection="#{bulkUserImportBean.selectedImport}" selectionMode="multiple">
<p:column headerText="Uid">#{importUser.uid}</p:column>
<p:column headerText="PersistentId">#{importUser.persistentId}</p:column>
<p:column headerText="Status">#{importUser.status}</p:column>
<p:column headerText="#{messages.uid}">#{importUser.uid}</p:column>
<p:column headerText="#{messages.persistent_id}">#{importUser.persistentId}</p:column>
<p:column headerText="#{messages.status}">#{importUser.status}</p:column>
</p:dataTable>
<p:commandButton id="importBtn" action="#{bulkUserImportBean.processSelected()}" value="Auswahl Importieren"
<p:commandButton id="importBtn" action="#{bulkUserImportBean.processSelected()}" value="#{messages.bulk_start_import}"
update=":form"/>
</p:panel>
<p:blockUI block="importPanel" trigger="importBtn">
......
......@@ -30,12 +30,12 @@
<p:tab id="eppnPanel" title="#{messages.bulk_register}">
<p:panelGrid id="baseData" columns="2">
<h:outputLabel for="eppnField" value="EPPNs (eine pro Zeile)"/>
<h:outputLabel for="eppnField" value="#{messages.bulk_eppn}"/>
<p:inputTextarea id="eppnField" rows="12" cols="80" autoResize="false"
value="#{bulkRegisterBean.eppnField}" required="true"/>
</p:panelGrid>
<p:commandButton action="#{bulkRegisterBean.fillTable()}" value="Tabelle aufbauen"
<p:commandButton action="#{bulkRegisterBean.fillTable()}" value="#{messages.bulk_build_table}"
update=":form:registerPanel"/>
</p:tab>
<p:tab id="usrListPanel" title="#{messages.users}">
......@@ -74,19 +74,19 @@
</p:column>
</p:dataTable>
<p:commandButton action="#{bulkRegisterBean.insert()}" value="Auswahl in Tabelle"
<p:commandButton action="#{bulkRegisterBean.insert()}" value="#{messages.bulk_build_table}"
update=":form:registerPanel"/>
</p:tab>
</p:tabView>
</div>
<div class="panel">
<p:panel id="registerPanel" header="Register Panel">
<p:dataTable id="regs" var="registerUser" value="#{bulkRegisterBean.registerUserList}"
rowKey="#{registerUser.eppn}" selection="#{bulkRegisterBean.selectedUsers}" selectionMode="multiple">
<p:column headerText="EPPN">#{registerUser.eppn}</p:column>
<p:column headerText="Status">#{registerUser.status}</p:column>
<p:column headerText="#{messages.eppn}">#{registerUser.eppn}</p:column>
<p:column headerText="#{messages.status}">#{registerUser.status}</p:column>
</p:dataTable>
<br/>
......@@ -96,7 +96,7 @@
var="service" itemLabel="#{service.name} (id #{service.id})" itemValue="#{service}"/>
</p:selectOneMenu>
<br/>
<p:commandButton id="regBtn" action="#{bulkRegisterBean.processSelected()}" value="Auswahl registrieren"
<p:commandButton id="regBtn" action="#{bulkRegisterBean.processSelected()}" value="#{messages.bulk_start_register}"
update=":form"/>
</p:panel>
<p:blockUI block="registerPanel" trigger="regBtn">
......
......@@ -68,8 +68,7 @@
<p:panel id="blockPanel">
<p:outputPanel rendered="#{registerServiceBean.policyHolderList.size() gt 0}">
<b>Um sich für den Dienst zu registrieren, müssen Sie den folgenden Nutzungsbedingungen
zustimmen.</b>
<b><h:outputText value="#{messages.register_consent_mandatory}" /></b>
</p:outputPanel>
<p:messages id="messageBox" for="need_check" showDetail="true" escape="false" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment