Ignore:
Timestamp:
02/05/22 22:48:19 (2 years ago)
Author:
Petar Partaloski <ppartaloski@…>
Branches:
main
Children:
2efe93e
Parents:
5b447b0
Message:

Fixed and added a better front end, improved clarity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • target/classes/templates/personsList.html

    r5b447b0 rf25e8dd  
    1212                        <tr>
    1313                            <th scope="col">Име</th>
    14                             <th scope="col">Презиме</th>
     14                            <!--<th scope="col">Презиме</th>-->
    1515                            <th scope="col">Датум рагање</th>
    16                             <th scope="col">Опис</th>
     16                            <!--<th scope="col">Опис</th>-->
    1717<!--                            <th scope="col">Занрови</th>-->
    1818                            <th scope="col">Слика</th>
     
    3131                        <tbody>
    3232                        <tr th:each="person : ${persons}" class="elements">
    33                             <td th:text="${person.getName()}"></td>
    34                             <td th:text="${person.getSurname()}"></td>
     33                            <td><a th:href="@{'/persons/{id}' (id=${person.getPersonId()})}" th:text="${person.getName() + ' ' + person.getSurname()}"></a></td>
     34                            <!--<td th:text="${person.getSurname()}"></td>-->
    3535                            <td th:text="${person.getDateOfBirth()}"></td>
    36                             <td th:text="${person.getDescription()}"></td>
     36                            <!--<td th:text="${person.getDescription()}"></td>-->
    3737
    3838<!--                            <td>-->
Note: See TracChangeset for help on using the changeset viewer.