diff --git a/templates/details.rs.html b/templates/details.rs.html index 82b5038..cd7694d 100644 --- a/templates/details.rs.html +++ b/templates/details.rs.html @@ -7,7 +7,11 @@
- @if user.is_some() {

@photo.path

} + @if user.is_some() { +

@photo.path

+ @if photo.is_public() {

This photo is public.

} + else {

This photo is not public.

} + } @if let Some(g) = photo.grade {

Betyg: @g

} @if let Some(d) = photo.date{

Tid: @d.format("%F %T")

} @if !people.is_empty() {