Commit 8f9d0f91 authored by ourfbht's avatar ourfbht
Browse files

frenglish

parent b26122eb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -29,11 +29,7 @@ public class HelpPropositionValidator implements Validator {
        ValidationUtils.rejectIfEmptyOrWhitespace(errors, "timeEnd", "timeEnd.empty", "You must enter a time end!");
        
        if(helpProposition.getDateBegin().after(helpProposition.getDateEnd())){
            System.out.println(helpProposition.getDateBegin());
            System.out.println(helpProposition.getDateEnd());
            errors.rejectValue("dateBegin", "dateBegin.size", "The begin date must be set before the end date!");
        }else{
            System.out.println("nop");
        }
    }

+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@

                                <p th:if="${help.poulain != null}" th:text=" ${help.poulain.username}"></p>
                                <form th:unless="${help.poulain != null}" th:action="@{/editProposition/{id}(id=${help.id})}">
                                    <input th:if="${session.isPoulain == 'true'}" class="waves-effect waves-light right btn teal darken-2" type="submit" value="Se proposer"/>
                                    <input th:if="${session.isPoulain == 'true'}" class="waves-effect waves-light right btn teal darken-2" type="submit" value="Participate"/>
                                </form>
                                
                            </div>
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@

                                <p th:if="${help.mentor != null}" th:text=" ${help.mentor.id}"></p>
                                <form th:unless="${help.mentor != null}"  th:action="@{/editRequest/{id}(id=${help.id})}">
                                    <input th:if="${session.isMentor == 'true'}" class="waves-effect waves-light right btn teal darken-2" type="submit" value="Se proposer"/>
                                    <input th:if="${session.isMentor == 'true'}" class="waves-effect waves-light right btn teal darken-2" type="submit" value="Volunteer"/>
                                </form>

                            </div>