Ispravke — bezbednost, CSS teme, handleri, sidebar, servis forma
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
<a href="/admin/profil" class="nav-stavka">
|
||||
<a href="/admin/profil" class="nav-stavka {{if eq .Stranica "profil"}}aktivan{{end}}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
|
||||
<span>Moj profil</span>
|
||||
<span class="nav-tooltip">Moj profil</span>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<option value="">— bez klijenta —</option>
|
||||
{{range .Klijenti}}
|
||||
<option value="{{.ID}}"
|
||||
{{if $.Nalog.KlijentID}}{{if eq .ID $.Nalog.KlijentID}}selected{{end}}{{end}}>
|
||||
{{if eq .ID $.Nalog.KlijentIDVrednost}}selected{{end}}>
|
||||
{{if .NazivFirme}}{{.NazivFirme}}{{else}}{{.Ime}} {{.Prezime}}{{end}}
|
||||
</option>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user