Ignore:
Timestamp:
01/05/22 21:51:57 (3 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/album.html

    rb8dc761 r6fa3d09  
    5555                            <h4 th:text="${post.title}" style="height: 60px"></h4>
    5656                            <p class="card-text text-truncate" style="height: 45px" th:text="${post.description}"></p>
    57                             <span th:if="${post.riskFactor < 101}" class="" style="color: black; margin-left: 62%;">Chance: <small th:text="${post.riskFactor}"></small></span>
    58                             <span th:unless="${post.riskFactor < 101}" style="color: black; margin-left: 62%;">Chance: unavailable</span>
     57                            <span th:if="${post.riskFactor == 100}" class="" style="color: black; margin-left: 62%;">Chance: <small th:text="${post.riskFactor+'+'}"></small></span>
     58                            <span th:if="${post.riskFactor < 100}" class="" style="color: black; margin-left: 62%;">Chance: <small th:text="${post.riskFactor}"></small></span>
     59                            <span th:if="${post.riskFactor == 101}" style="color: black; margin-left: 46%;">Chance: too early to calculate</span>
     60                            <span th:if="${post.riskFactor == 102}" style="color: black; margin-left: 61%;">Donation completed!</span>
    5961                            <div class="d-flex justify-content-between align-items-center">
    6062                                <div class="btn-group">
Note: See TracChangeset for help on using the changeset viewer.