Internationnalization done (FR and EN).
This commit is contained in:
parent
2c178ec205
commit
f1b94f48b8
|
|
@ -35,3 +35,57 @@ modal_button.delete=Delete
|
|||
modal_button.cancel=Cancel
|
||||
animal_cares_and_behaviors.delete.modal_body.behavior=Do you want to delete this behavior?
|
||||
animal_cares_and_behaviors.delete.modal_body.care=Do you want to delete this care?
|
||||
animal_list.title=Your animals' list
|
||||
animal_list.animal_list.title=Your animals' list
|
||||
animal_list.animal.delete.tooltip=Delete
|
||||
animal_list.animal.add.title=Add an animal
|
||||
animal_list.animal.add.label=Animal's name:
|
||||
animal_list.animal.add.placeholder=Name
|
||||
animal_list.animal.add.tooltip=Add
|
||||
animal_list.change_password.title=Change password
|
||||
animal_list.change_password.old_password.label=Old password:
|
||||
animal_list.change_password.old_password.placeholder=Old password
|
||||
animal_list.change_password.new_password.label=New password:
|
||||
animal_list.change_password.new_password.placeholder=New password
|
||||
animal_list.change_password.new_password_check.label=New password:
|
||||
animal_list.change_password.new_password_check.placeholder=Check new password
|
||||
animal_list.change_password.submit=Change password
|
||||
progression.title={0} sheet
|
||||
progression.table.column.care=Care
|
||||
progression.table.column.behavior=Consent behavior
|
||||
|
||||
|
||||
animal_care_and_behavior.title={0} sheet
|
||||
animal_care_and_behavior.care_list=Cares list
|
||||
animal_care_and_behavior.add_care=Add care
|
||||
animal_care_and_behavior.add_care.care_name.placeholder=Care name
|
||||
animal_care_and_behavior.add_care.care_description.placeholder=Care description (optional)
|
||||
animal_care_and_behavior.add_care.button.submit=Add
|
||||
animal_care_and_behavior.behavior_list=Consent behaviors list
|
||||
animal_care_and_behavior.add_behavior=Add consent behavior
|
||||
animal_care_and_behavior.add_behavior.care_name.placeholder=Consent behavior
|
||||
animal_care_and_behavior.add_behavior.care_description.placeholder=Consent behavior description (optional)
|
||||
animal_care_and_behavior.add_behavior.button.submit=Add
|
||||
animal_care_and_behavior.button.delete.tooltip=Delete
|
||||
|
||||
animal_care.title={0} sheet
|
||||
animal_care.subtitle=Progression of "{0}"
|
||||
animal_care.table.behavior=Consent behavior
|
||||
animal_care.table.executed_by_me=Execute by me
|
||||
animal_care.table.executed_by_someone_else=Execute by someone else
|
||||
animal_care.table.executed_by_veterinary=Execute by veterinary
|
||||
animal_care.button.delete.tooltip=Delete
|
||||
animal_care.button.add.tooltip=Add
|
||||
animal_care.add_behavior=Add a consent behavior to this care
|
||||
animal_care.add_behavior.empty_list=No more consent behaviors to add
|
||||
|
||||
animal_behavior.title={0} sheet
|
||||
animal_behavior.subtitle=Progression of "{0}"
|
||||
animal_behavior.table.care=Care
|
||||
animal_behavior.table.executed_by_me=Execute by me
|
||||
animal_behavior.table.executed_by_someone_else=Execute by someone else
|
||||
animal_behavior.table.executed_by_veterinary=Execute by veterinary
|
||||
animal_behavior.button.delete.tooltip=Delete
|
||||
animal_behavior.button.add.tooltip=Add
|
||||
animal_behavior.add_care=Add care to this consent behavior
|
||||
animal_behavior.add_care.empty_list=No more cares to add
|
||||
|
|
|
|||
|
|
@ -35,3 +35,53 @@ modal_button.delete=Delete
|
|||
modal_button.cancel=Cancel
|
||||
animal_cares_and_behaviors.delete.modal_body.behavior=Do you want to delete this behavior?
|
||||
animal_cares_and_behaviors.delete.modal_body.care=Do you want to delete this care?
|
||||
animal_list.title=Your animals' list
|
||||
animal_list.animal_list.title=Your animals' list
|
||||
animal_list.animal.add.title=Add an animal
|
||||
animal_list.animal.add.label=Animal's name:
|
||||
animal_list.animal.add.placeholder=Name
|
||||
animal_list.animal.add.tooltip=Add
|
||||
animal_list.change_password.title=Change password
|
||||
animal_list.change_password.old_password.label=Old password:
|
||||
animal_list.change_password.old_password.placeholder=Old password
|
||||
animal_list.change_password.new_password.label=New password:
|
||||
animal_list.change_password.new_password.placeholder=New password
|
||||
animal_list.change_password.new_password_check.label=New password:
|
||||
animal_list.change_password.new_password_check.placeholder=Check new password
|
||||
animal_list.change_password.submit=Change password
|
||||
progression.title={0} sheet
|
||||
progression.table.column.care=Care
|
||||
progression.table.column.behavior=Consent behavior
|
||||
animal_care_and_behavior.title={0} sheet
|
||||
animal_care_and_behavior.care_list=Cares list
|
||||
animal_care_and_behavior.add_care=Add care
|
||||
animal_care_and_behavior.add_care.care_name.placeholder=Care name
|
||||
animal_care_and_behavior.add_care.care_description.placeholder=Care description (optional)
|
||||
animal_care_and_behavior.add_care.button.submit=Add
|
||||
animal_care_and_behavior.behavior_list=Consent behaviors list
|
||||
animal_care_and_behavior.add_behavior=Add consent behavior
|
||||
animal_care_and_behavior.add_behavior.care_name.placeholder=Consent behavior
|
||||
animal_care_and_behavior.add_behavior.care_description.placeholder=Consent behavior description (optional)
|
||||
animal_care_and_behavior.add_behavior.button.submit=Add
|
||||
animal_care_and_behavior.button.delete.tooltip=Delete
|
||||
animal_care.title={0} sheet
|
||||
animal_care.subtitle=Progression of "{0}"
|
||||
animal_behavior.title={0} sheet
|
||||
animal_list.animal.delete.tooltip=Delete
|
||||
animal_care.add_behavior.empty_list=No more consent behaviors to add
|
||||
animal_care.add_behavior=Add a consent behavior to this care
|
||||
animal_care.button.delete.tooltip=Delete
|
||||
animal_care.button.add.tooltip=Add
|
||||
animal_care.table.executed_by_veterinary=Execute by veterinary
|
||||
animal_care.table.executed_by_someone_else=Execute by someone else
|
||||
animal_care.table.executed_by_me=Execute by me
|
||||
animal_care.table.behavior=Consent behavior
|
||||
animal_behavior.subtitle=Progression of "{0}"
|
||||
animal_behavior.table.care=Care
|
||||
animal_behavior.table.executed_by_me=Execute by me
|
||||
animal_behavior.table.executed_by_someone_else=Execute by someone else
|
||||
animal_behavior.table.executed_by_veterinary=Execute by veterinary
|
||||
animal_behavior.button.delete.tooltip=Delete
|
||||
animal_behavior.button.add.tooltip=Add
|
||||
animal_behavior.add_care=Add care to this consent behavior
|
||||
animal_behavior.add_care.empty_list=No more cares to add
|
||||
|
|
|
|||
|
|
@ -35,3 +35,53 @@ modal_button.delete=Supprimer
|
|||
modal_button.cancel=Annuler
|
||||
animal_cares_and_behaviors.delete.modal_body.behavior=Voulez-vous vraiment supprimer ce comportement ?
|
||||
animal_cares_and_behaviors.delete.modal_body.care=Voulez-vous vraiment supprimer ce soin ?
|
||||
animal_list.title=Liste de vos animaux
|
||||
animal_list.animal_list.title=Liste de vos animaux
|
||||
animal_list.animal.add.title=Ajouter un animal
|
||||
animal_list.animal.add.label=Nom de l'animal :
|
||||
animal_list.animal.add.placeholder=Nom
|
||||
animal_list.animal.add.tooltip=Ajouter
|
||||
animal_list.change_password.title=Changer de mot de passe
|
||||
animal_list.change_password.old_password.label=Ancien mot de passe :
|
||||
animal_list.change_password.old_password.placeholder=Ancien mot de passe
|
||||
animal_list.change_password.new_password.label=Nouveau mot de passe :
|
||||
animal_list.change_password.new_password.placeholder=Nouveau mot de passe
|
||||
animal_list.change_password.new_password_check.label=Nouveau mot de passe :
|
||||
animal_list.change_password.new_password_check.placeholder=V\u00e9rification nouveau mot de passe
|
||||
animal_list.change_password.submit=Changer le mot de passe
|
||||
progression.title=Feuille de {0}
|
||||
progression.table.column.care=Soin
|
||||
progression.table.column.behavior=Comportement de consentement
|
||||
animal_care_and_behavior.title=Feuille de {0}
|
||||
animal_care_and_behavior.care_list=Liste des soins
|
||||
animal_care_and_behavior.add_care=Ajouter un soin
|
||||
animal_care_and_behavior.add_care.care_name.placeholder=Nom du soin
|
||||
animal_care_and_behavior.add_care.care_description.placeholder=Description du soin (optionelle)
|
||||
animal_care_and_behavior.add_care.button.submit=Ajouter
|
||||
animal_care_and_behavior.behavior_list=Liste des comportements de consentements
|
||||
animal_care_and_behavior.add_behavior=Ajouter un comportement de consentement
|
||||
animal_care_and_behavior.add_behavior.care_name.placeholder=Comportement de consentement
|
||||
animal_care_and_behavior.add_behavior.care_description.placeholder=Description du comportement de consentement (optionelle)
|
||||
animal_care_and_behavior.add_behavior.button.submit=Ajouter
|
||||
animal_care_and_behavior.button.delete.tooltip=Supprimer
|
||||
animal_care.title=Feuille de {0}
|
||||
animal_behavior.title=Feuille de {0}
|
||||
animal_care.subtitle=Progression de "{0}"
|
||||
animal_list.animal.delete.tooltip=Supprimer
|
||||
animal_care.table.behavior=Comportement de consentement
|
||||
animal_care.table.executed_by_me=Ex\u00e9cut\u00e9 par moi
|
||||
animal_care.table.executed_by_someone_else=Ex\u00e9cut\u00e9 par quelqu'un d'autre
|
||||
animal_care.table.executed_by_veterinary=Ex\u00e9cut\u00e9 par le v\u00e9t\u00e9rinaire
|
||||
animal_care.button.delete.tooltip=Supptimer
|
||||
animal_care.button.add.tooltip=Ajouter
|
||||
animal_care.add_behavior=Ajouter un comportement de consentement \u00e0 ce soin
|
||||
animal_care.add_behavior.empty_list=Aucun comportements de consentement \u00e0 ajouter
|
||||
animal_behavior.subtitle=Progression de "{0}"
|
||||
animal_behavior.table.care=Soin
|
||||
animal_behavior.table.executed_by_me=Ex\u00e9cut\u00e9 par moi
|
||||
animal_behavior.table.executed_by_someone_else=Ex\u00e9cut\u00e9 par quelqu'un d'autre
|
||||
animal_behavior.table.executed_by_veterinary=Ex\u00e9cut\u00e9 par le v\u00e9t\u00e9rinaire
|
||||
animal_behavior.button.delete.tooltip=Supprimer
|
||||
animal_behavior.button.add.tooltip=Ajouter
|
||||
animal_behavior.add_care=Ajouter un soin \u00e0 ce comportement de consentement
|
||||
animal_behavior.add_care.empty_list=Aucun soins \u00e0 ajouter
|
||||
|
|
|
|||
|
|
@ -32,22 +32,29 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<%@ include file="base/navbar.jsp" %>
|
||||
<center><h1>Feuille de ${MODEL_MAP_ANIMAL.getName()}</h1></center>
|
||||
<h4>${MODEL_MAP_ANIMAL.getConsentBehaviorById(MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID).getName()}</h4>
|
||||
<center><h1>
|
||||
<fmt:message key="animal_behavior.title">
|
||||
<fmt:param value="${MODEL_MAP_ANIMAL.getName()}" />
|
||||
</fmt:message>
|
||||
</h1></center>
|
||||
<h3>
|
||||
<fmt:message key="animal_behavior.subtitle">
|
||||
<fmt:param value="${MODEL_MAP_ANIMAL.getConsentBehaviorById(MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID).getName()}" />
|
||||
</fmt:message>
|
||||
</h3>
|
||||
<p>${MODEL_MAP_ANIMAL.getConsentBehaviorById(MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID).getDescription()}</p>
|
||||
<h4>Progression</h4>
|
||||
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Soins</th>
|
||||
<th>Réalisé par moi</th>
|
||||
<th>Réalisé par quelqu'un d'autre</th>
|
||||
<th>Réalisé par le vétérinaire</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<th><fmt:message key="animal_behavior.table.care"></fmt:message></th>
|
||||
<th><fmt:message key="animal_behavior.table.executed_by_me"></fmt:message></th>
|
||||
<th><fmt:message key="animal_behavior.table.executed_by_someone_else"></fmt:message></th>
|
||||
<th><fmt:message key="animal_behavior.table.executed_by_veterinary"></fmt:message></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${MODEL_MAP_ANIMAL.getProgressionList()}" var="progression">
|
||||
<tr>
|
||||
<td><a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/care/${progression.getCare().getId()}">${progression.getCare().getName()}</a></td>
|
||||
|
|
@ -85,30 +92,35 @@
|
|||
<input id="form_page" name="page" value="consent_behavior" hidden />
|
||||
<label class="sr-only" for="form_consent_behavior_id">Consent behavior ID</label>
|
||||
<input id="form_consent_behavior_id" name="redirect_id" value="${MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID}" hidden />
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="Suppression"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_behavior.button.delete.tooltip"></fmt:message>"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<hr/>
|
||||
<h4>Ajouter un soins pour ce comportement de consentement</h4>
|
||||
<form class="form-inline" action="${animalAddProgressionURL}" method="POST">
|
||||
<label class="sr-only" for="form_page">Page</label>
|
||||
<input id="form_page" name="page" value="consent_behavior" hidden />
|
||||
<label class="sr-only" for="form_consent_behavior_id">Consent Behavior ID</label>
|
||||
<input id="form_consent_behavior_id" name="consent_behavior_id" value="${MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID}" hidden />
|
||||
<label class="sr-only" for="form_care_id">Care ID</label>
|
||||
<select id="form_care_id" class="form-control" name="care_id">
|
||||
<c:forEach items="${MODEL_MAP_LIST_REMAINING_CARES}" var="care">
|
||||
<option value="${care.getId()}">${care.getName()}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<input id="form_care_id" name="care_id" value="${MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID}" hidden />
|
||||
<button class="btn btn-success" type="submit" data-toggle="tooltip" data-placement="bottom" title="Ajouter"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
<h4><fmt:message key="animal_behavior.add_care"></fmt:message></h4>
|
||||
<c:if test="${MODEL_MAP_LIST_REMAINING_CARES.size() == 0}" >
|
||||
<p><fmt:message key="animal_behavior.add_care.empty_list"></fmt:message></p>
|
||||
</c:if>
|
||||
<c:if test="${MODEL_MAP_LIST_REMAINING_CARES.size() != 0}" >
|
||||
<form class="form-inline" action="${animalAddProgressionURL}" method="POST">
|
||||
<label class="sr-only" for="form_page">Page</label>
|
||||
<input id="form_page" name="page" value="consent_behavior" hidden />
|
||||
<label class="sr-only" for="form_consent_behavior_id">Consent Behavior ID</label>
|
||||
<input id="form_consent_behavior_id" name="consent_behavior_id" value="${MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID}" hidden />
|
||||
<label class="sr-only" for="form_care_id">Care ID</label>
|
||||
<select id="form_care_id" class="form-control" name="care_id">
|
||||
<c:forEach items="${MODEL_MAP_LIST_REMAINING_CARES}" var="care">
|
||||
<option value="${care.getId()}">${care.getName()}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<input id="form_care_id" name="care_id" value="${MODEL_MAP_ANIMAL_CONSENT_BEHAVIOR_ID}" hidden />
|
||||
<button class="btn btn-success" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_behavior.button.add.tooltip"></fmt:message>"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</c:if>
|
||||
|
||||
<%@ include file="base/footer.jsp" %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -32,22 +32,29 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<%@ include file="base/navbar.jsp" %>
|
||||
<center><h1>Feuille de ${MODEL_MAP_ANIMAL.getName()}</h1></center>
|
||||
<h4>${MODEL_MAP_ANIMAL.getCareById(MODEL_MAP_ANIMAL_CARE_ID).getName()}</h4>
|
||||
<center><h1>
|
||||
<fmt:message key="animal_care.title">
|
||||
<fmt:param value="${MODEL_MAP_ANIMAL.getName()}" />
|
||||
</fmt:message>
|
||||
</h1></center>
|
||||
<h3>
|
||||
<fmt:message key="animal_care.subtitle">
|
||||
<fmt:param value="${MODEL_MAP_ANIMAL.getCareById(MODEL_MAP_ANIMAL_CARE_ID).getName()}" />
|
||||
</fmt:message>
|
||||
</h3>
|
||||
<p>${MODEL_MAP_ANIMAL.getCareById(MODEL_MAP_ANIMAL_CARE_ID).getDescription()}</p>
|
||||
<h4>Progression</h4>
|
||||
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Comportement de consentement</th>
|
||||
<th>Réalisé par moi</th>
|
||||
<th>Réalisé par quelqu'un d'autre</th>
|
||||
<th>Réalisé par le vétérinaire</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<th><fmt:message key="animal_care.table.behavior"></fmt:message></th>
|
||||
<th><fmt:message key="animal_care.table.executed_by_me"></fmt:message></th>
|
||||
<th><fmt:message key="animal_care.table.executed_by_someone_else"></fmt:message></th>
|
||||
<th><fmt:message key="animal_care.table.executed_by_veterinary"></fmt:message></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${MODEL_MAP_ANIMAL.getProgressionList()}" var="progression">
|
||||
<tr>
|
||||
<td><a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/consent_behavior/${progression.getConsentBehavior().getId()}">${progression.getConsentBehavior().getName()}</a></td>
|
||||
|
|
@ -85,29 +92,34 @@
|
|||
<input id="form_page" name="page" value="care" hidden />
|
||||
<label class="sr-only" for="form_care_id">Care ID</label>
|
||||
<input id="form_care_id" name="redirect_id" value="${MODEL_MAP_ANIMAL_CARE_ID}" hidden />
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="Suppression"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_care.button.delete.tooltip"></fmt:message>"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<hr/>
|
||||
<h4>Ajouter un comportement de consentement pour ce soin</h4>
|
||||
<form class="form-inline" action="${animalAddProgressionURL}" method="POST">
|
||||
<label class="sr-only" for="form_page">Page</label>
|
||||
<input id="form_page" name="page" value="care" hidden />
|
||||
<label class="sr-only" for="form_care_id">Care ID</label>
|
||||
<input id="form_care_id" name="care_id" value="${MODEL_MAP_ANIMAL_CARE_ID}" hidden />
|
||||
<label class="sr-only" for="form_consent_behavior_id">Consent Behavior ID</label>
|
||||
<select id="form_consent_behavior_id" class="form-control" name="consent_behavior_id">
|
||||
<c:forEach items="${MODEL_MAP_LIST_REMAINING_CONSENT_BEHAVIORS}" var="consent_behavior">
|
||||
<option value="${consent_behavior.getId()}">${consent_behavior.getName()}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<button class="btn btn-success" type="submit" data-toggle="tooltip" data-placement="bottom" title="Ajouter"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
<h4><fmt:message key="animal_care.add_behavior"></fmt:message></h4>
|
||||
<c:if test="${MODEL_MAP_LIST_REMAINING_CONSENT_BEHAVIORS.size() == 0}" >
|
||||
<p><fmt:message key="animal_care.add_behavior.empty_list"></fmt:message></p>
|
||||
</c:if>
|
||||
<c:if test="${MODEL_MAP_LIST_REMAINING_CONSENT_BEHAVIORS.size() != 0}" >
|
||||
<form class="form-inline" action="${animalAddProgressionURL}" method="POST">
|
||||
<label class="sr-only" for="form_page">Page</label>
|
||||
<input id="form_page" name="page" value="care" hidden />
|
||||
<label class="sr-only" for="form_care_id">Care ID</label>
|
||||
<input id="form_care_id" name="care_id" value="${MODEL_MAP_ANIMAL_CARE_ID}" hidden />
|
||||
<label class="sr-only" for="form_consent_behavior_id">Consent Behavior ID</label>
|
||||
<select id="form_consent_behavior_id" class="form-control" name="consent_behavior_id">
|
||||
<c:forEach items="${MODEL_MAP_LIST_REMAINING_CONSENT_BEHAVIORS}" var="consent_behavior">
|
||||
<option value="${consent_behavior.getId()}">${consent_behavior.getName()}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<button class="btn btn-success" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_care.button.add.tooltip"></fmt:message>"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</c:if>
|
||||
|
||||
<%@ include file="base/footer.jsp" %>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -35,13 +35,17 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<%@ include file="base/navbar.jsp" %>
|
||||
<center><h1>Feuille de ${MODEL_MAP_ANIMAL.getName()}</h1></center>
|
||||
<center><h1>
|
||||
<fmt:message key="animal_care_and_behavior.title">
|
||||
<fmt:param value="${MODEL_MAP_ANIMAL.getName()}" />
|
||||
</fmt:message>
|
||||
</h1></center>
|
||||
<div class="row">
|
||||
<div class="col-lg-1">
|
||||
</div>
|
||||
|
||||
<div class="col-lg-5">
|
||||
<h4>Liste des soins</h4>
|
||||
<h4><fmt:message key="animal_care_and_behavior.care_list"></fmt:message></h4>
|
||||
<div class="list-group">
|
||||
<c:forEach items="${MODEL_MAP_ANIMAL.getListCares()}" var="care">
|
||||
<a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/care/${care.getId()}" class="list-group-item">
|
||||
|
|
@ -50,7 +54,7 @@
|
|||
${care.getName()}
|
||||
<form class="pull-right" action="${animalDeleteCareURL}/${care.getId()}" method="POST">
|
||||
<input value="${care.getName()}" hidden />
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="Suppression"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_care_and_behavior.button.delete.tooltip"></fmt:message>"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -62,11 +66,11 @@
|
|||
</c:forEach>
|
||||
</div>
|
||||
<hr/>
|
||||
<h4>Ajouter un soin</h4>
|
||||
<h4><fmt:message key="animal_care_and_behavior.add_care"></fmt:message></h4>
|
||||
<form id="addCareForm" action="${animalAddCareURL}" method="POST">
|
||||
<input type="text" id="form_care_name" name="name" class="form-control" placeholder="Soin" required />
|
||||
<textarea id="form_care_description_name" name="description" class="form-control" placeholder="Description du soin (optionel)" ></textarea>
|
||||
<button class="btn btn btn-primary" type="submit">Ajouter</button>
|
||||
<input type="text" id="form_care_name" name="name" class="form-control" placeholder="<fmt:message key="animal_care_and_behavior.add_care.care_name.placeholder"></fmt:message>" required />
|
||||
<textarea id="form_care_description_name" name="description" class="form-control" placeholder="<fmt:message key="animal_care_and_behavior.add_care.care_description.placeholder"></fmt:message>" ></textarea>
|
||||
<button class="btn btn btn-primary" type="submit"><fmt:message key="animal_care_and_behavior.add_care.button.submit"></fmt:message></button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
@ -74,7 +78,7 @@
|
|||
</div>
|
||||
|
||||
<div class="col-lg-5">
|
||||
<h4>Liste des comportements de consentements</h4>
|
||||
<h4><fmt:message key="animal_care_and_behavior.behavior_list"></fmt:message></h4>
|
||||
<div class="list-group">
|
||||
<c:forEach items="${MODEL_MAP_ANIMAL.getListConsentBehavior()}" var="consentBehavior">
|
||||
<a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/consent_behavior/${consentBehavior.getId()}" class="list-group-item">
|
||||
|
|
@ -83,7 +87,7 @@
|
|||
${consentBehavior.getName()}
|
||||
<form class="pull-right" action="${animalDeleteConsentBehaviorURL}/${consentBehavior.getId()}" method="POST">
|
||||
<input value="${consentBehavior.getName()}" hidden />
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="Suppression"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
<button class="btn btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_care_and_behavior.button.delete.tooltip"></fmt:message>"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -95,11 +99,11 @@
|
|||
</c:forEach>
|
||||
</div>
|
||||
<hr/>
|
||||
<h4>Ajouter un comportement de consentement</h4>
|
||||
<h4><fmt:message key="animal_care_and_behavior.add_behavior"></fmt:message></h4>
|
||||
<form id="addCareForm" action="${animalAddConsentBehaviorURL}" method="POST">
|
||||
<input type="text" id="form_consent_behavior_name" name="name" class="form-control" placeholder="Comportement de consentement" required />
|
||||
<textarea id="form_consent_behavior_description_name" name="description" class="form-control" placeholder="Description du comportement de consentement (optionel)" ></textarea>
|
||||
<button class="btn btn btn-primary" type="submit">Ajouter</button>
|
||||
<input type="text" id="form_consent_behavior_name" name="name" class="form-control" placeholder="<fmt:message key="animal_care_and_behavior.add_behavior.care_name.placeholder"></fmt:message>" required />
|
||||
<textarea id="form_consent_behavior_description_name" name="description" class="form-control" placeholder="<fmt:message key="animal_care_and_behavior.add_behavior.care_description.placeholder"></fmt:message>" ></textarea>
|
||||
<button class="btn btn btn-primary" type="submit"><fmt:message key="animal_care_and_behavior.add_behavior.button.submit"></fmt:message></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -32,17 +32,17 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<%@ include file="base/navbar.jsp" %>
|
||||
|
||||
<center><h1><fmt:message key="animal_list.title"></fmt:message></h1></center>
|
||||
<div class="row">
|
||||
<div class="col-lg-5">
|
||||
<h4>List de vos animaux</h4>
|
||||
<h4><fmt:message key="animal_list.animal_list.title"></fmt:message></h4>
|
||||
<div class="list-group">
|
||||
<c:forEach items="${MODEL_MAP_ANIMAL_LIST}" var="animal">
|
||||
<a class="list-group-item" href="${animalURL}/${animal.getId()}/cares_and_behaviors">
|
||||
${animal.getName()}
|
||||
<form class="pull-right" action="${animalDeleteURL}/${animal.getId()}" method="POST">
|
||||
<input value="${animal.getName()}" hidden />
|
||||
<button class="btn btn-xs btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="Suppression"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
<button class="btn btn-xs btn-danger" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_list.animal.delete.tooltip"></fmt:message>"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</a>
|
||||
<!-- <div class="list-group-item">
|
||||
|
|
@ -56,29 +56,29 @@
|
|||
|
||||
<hr/>
|
||||
|
||||
<h4>Ajouter un animal</h4>
|
||||
<h4><fmt:message key="animal_list.animal.add.title"></fmt:message></h4>
|
||||
<form id="addAnimalForm" class="form-inline" action="${animalURL}" method="POST">
|
||||
<div class="form-group">
|
||||
<label for="form_animal_name">Nom de l'animal :</label>
|
||||
<input type="text" id="form_animal_name" name="name" class="form-control" placeholder="Nom" />
|
||||
<label for="form_animal_name"><fmt:message key="animal_list.animal.add.label"></fmt:message></label>
|
||||
<input type="text" id="form_animal_name" name="name" class="form-control" placeholder="<fmt:message key="animal_list.animal.add.placeholder"></fmt:message>" />
|
||||
</div>
|
||||
<button class="btn btn btn-success" type="submit" data-toggle="tooltip" data-placement="bottom" title="Ajouter"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
<button class="btn btn btn-success" type="submit" data-toggle="tooltip" data-placement="bottom" title="<fmt:message key="animal_list.animal.add.tooltip"></fmt:message>"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-lg-2">
|
||||
</div>
|
||||
<div class="col-lg-5">
|
||||
<h4>Changer de mot de passe</h4>
|
||||
<h4><fmt:message key="animal_list.change_password.title"></fmt:message></h4>
|
||||
<form id="changePasswordForm" action="${changePasswordURL}" method="POST">
|
||||
<div class="form-group">
|
||||
<label for="old_password">Ancien mot de passe :</label>
|
||||
<input type="password" id="old_password" name="old_password" class="form-control" placeholder="Ancien mot de passe" required/>
|
||||
<label for="password">Nouveau mot de passe :</label>
|
||||
<input type="password" id="password" name="password" class="form-control" placeholder="Nouveau mot de passe" required/>
|
||||
<label for="password_check">Nouveau mot de passe :</label>
|
||||
<input type="password" id="password_check" name="password_check" class="form-control" placeholder="Nouveau mot de passe" required/>
|
||||
<label for="old_password"><fmt:message key="animal_list.change_password.old_password.label"></fmt:message></label>
|
||||
<input type="password" id="old_password" name="old_password" class="form-control" placeholder="<fmt:message key="animal_list.change_password.old_password.placeholder"></fmt:message>" required/>
|
||||
<label for="password"><fmt:message key="animal_list.change_password.new_password.label"></fmt:message></label>
|
||||
<input type="password" id="password" name="password" class="form-control" placeholder="<fmt:message key="animal_list.change_password.new_password.placeholder"></fmt:message>" required/>
|
||||
<label for="password_check"><fmt:message key="animal_list.change_password.new_password_check.label"></fmt:message></label>
|
||||
<input type="password" id="password_check" name="password_check" class="form-control" placeholder="<fmt:message key="animal_list.change_password.new_password_check.placeholder"></fmt:message>" required/>
|
||||
</div>
|
||||
<button class="btn btn btn-primary" type="submit">Changer le mot de passe</button>
|
||||
<button class="btn btn btn-primary" type="submit"><fmt:message key="animal_list.change_password.submit"></fmt:message></button>
|
||||
</form>
|
||||
<c:if test="${MODEL_MAP_CHANGE_PASSWORD_ERROR_MESSAGE == 'true'}">
|
||||
<div class="list-group">
|
||||
|
|
|
|||
|
|
@ -30,23 +30,27 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<%@ include file="base/navbar.jsp" %>
|
||||
<center><h1>Feuille de ${MODEL_MAP_ANIMAL.getName()}</h1></center>
|
||||
<center><h1>
|
||||
<fmt:message key="progression.title">
|
||||
<fmt:param value="${MODEL_MAP_ANIMAL.getName()}" />
|
||||
</fmt:message>
|
||||
</h1></center>
|
||||
<h4><fmt:message key="progression.${MODEL_MAP_PROGRESSION_TYPE}"></fmt:message> - <fmt:message key="progression.value.${MODEL_MAP_PROGRESSION}"></fmt:message></h4>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Soin</th>
|
||||
<th>Comportement de consentement</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><fmt:message key="progression.table.column.care"></fmt:message></th>
|
||||
<th><fmt:message key="progression.table.column.behavior"></fmt:message></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${MODEL_MAP_ANIMAL.getProgressionList()}" var="progression">
|
||||
<tr class="
|
||||
<c:if test="${MODEL_MAP_PROGRESSION == 'TRAINED'}">success</c:if>
|
||||
<c:if test="${MODEL_MAP_PROGRESSION == 'CURRENTLY_TRAINING'}">info</c:if>
|
||||
<c:if test="${MODEL_MAP_PROGRESSION == 'NOT_TRAINED'}">active</c:if>
|
||||
">
|
||||
<td><a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/care/${progression.getCare().getId()}">${progression.getCare().getName()}</a></td>
|
||||
<td><a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/care/${progression.getCare().getId()}">${progression.getCare().getName()}</a></td>
|
||||
<td><a href="${animalURL}/${MODEL_MAP_ANIMAL.getId()}/consent_behavior/${progression.getConsentBehavior().getId()}">${progression.getConsentBehavior().getName()}</a></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
|
|
|||
Loading…
Reference in New Issue