summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-06-03 21:47:11 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-06-03 21:47:11 +0200
commitd0f8887c237412778afd0eefbe59a3d68cf602cb (patch)
tree53c296b71ae40b4fd83599932774652506e6c78b
parent26e25619eb23ac3c1e16d1f496655947917a2591 (diff)
show "ISO x" instead of "Verstärkung: ISOx" on detail page
-rwxr-xr-xbin/pyggle7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/pyggle b/bin/pyggle
index 662061f..c3bc313 100755
--- a/bin/pyggle
+++ b/bin/pyggle
@@ -107,8 +107,9 @@ class ImageHTML:
entries.append(self.focal_length)
if iso is not None:
- self.iso = f"""<span class="iso">ISO{iso}</span>"""
- entries.append(self.iso)
+ self.iso_iso = f"""<span class="iso">ISO{iso}</span>"""
+ self.iso = f"""<span class="iso">{iso}</span>"""
+ entries.append(self.iso_iso)
self.focus = " ".join(entries)
@@ -159,7 +160,7 @@ class ImageHTML:
if self.exposure:
buf += f"<tr><th>Belichtung</th><td>{self.exposure}</td></tr>\n"
if self.iso:
- buf += f"<tr><th>Verstärkung</th><td>{self.iso}</td></tr>\n"
+ buf += f"<tr><th>ISO</th><td>{self.iso}</td></tr>\n"
if self.focal_length:
buf += f"<tr><th>Brennweite</th><td>{self.focal_length}</td></tr>\n"
buf += "<tr><th></th><td>&nbsp;</td></tr>\n"