Ignore:
Timestamp:
01/05/22 21:51:57 (2 years ago)
Author:
NikolaCenevski <cenevskinikola@…>
Branches:
master
Children:
a64f926
Parents:
b8dc761
Message:

part 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/post.html

    rb8dc761 r6fa3d09  
    5353            <h5>Date due:</h5>
    5454            <p th:text="${post.dateDue}"></p>
     55            <h5>Chance:</h5>
     56            <p th:if="${post.riskFactor<100}" th:text="${post.riskFactor}"></p>
     57            <p th:if="${post.riskFactor==100}" th:text="${post.riskFactor+'+'}"></p>
     58            <p th:if="${post.riskFactor==101}">too early to calculate</p>
     59            <p th:if="${post.riskFactor==102}">Donation completed!</p>
    5560            <h5>Bank account:</h5>
    5661            <p th:text="${post.bankAccount}"></p>
Note: See TracChangeset for help on using the changeset viewer.