Commit d21fa4de by Bogdan Andjelkovic

male izmene front i back

parent 6c871299
......@@ -40,6 +40,7 @@ public class KomentarController {
public String getOceniKorisnika(@RequestParam("vlasnikId") int vlasnikId,
@RequestParam("korisnikId") int korisnikId,
@RequestParam("zahtevId") int zahtevId,
@RequestParam("oglasId") int oglasId,
@RequestParam("ocenaRadio") int ocenaRadio,
@RequestParam("komentar") String text)
{
......@@ -52,6 +53,6 @@ public class KomentarController {
} catch (Exception e) {
throw new RuntimeException(e);
}
return ("redirect:/profile/moji-zahtevi");
return ("redirect:/lista-oglasa/"+oglasId);
}
}
......@@ -117,12 +117,11 @@
</div>
<div class="col-md-6">
<div class="card-body">
<h5 class="card-title"
th:text="${korisnik.getIme() + ' ' + korisnik.getPrezime()}"></h5>
<a th:href="@{/korisnik/{korisnikId}(korisnikId=${korisnik.korisnikId})}" th:text="${korisnik.ime + ' '+ korisnik.prezime}" class="text-right w-100" style="color:#495056;text-decoration: none"></a>
<p class="card-text">
Email:<span th:text="${korisnik.getEmail()}"></span><br>
Telefon:<span th:text="${korisnik.getTelefon()}"></span><br>
Grad:<span th:text="${gradovi[korisnikStat.index]}"></span>
Email: <span th:text="${korisnik.getEmail()}"></span><br>
Telefon: <span th:text="${korisnik.getTelefon()}"></span><br>
Grad: <span th:text="${gradovi[korisnikStat.index]}"></span>
</p>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment