Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SkuciSe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tim 2 - 2022
SkuciSe
Commits
d21fa4de
Commit
d21fa4de
authored
Sep 19, 2022
by
Bogdan Andjelkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
male izmene front i back
parent
6c871299
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
SkuciSe/src/main/java/com/example/SkuciSe/controller/KomentarController.java
+2
-1
SkuciSe/src/main/resources/templates/lista-korisnika.html
+4
-5
No files found.
SkuciSe/src/main/java/com/example/SkuciSe/controller/KomentarController.java
View file @
d21fa4de
...
...
@@ -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
);
}
}
SkuciSe/src/main/resources/templates/lista-korisnika.html
View file @
d21fa4de
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment