diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-06-03 21:47:11 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-06-03 21:47:11 +0200 |
commit | d0f8887c237412778afd0eefbe59a3d68cf602cb (patch) | |
tree | 53c296b71ae40b4fd83599932774652506e6c78b | |
parent | 26e25619eb23ac3c1e16d1f496655947917a2591 (diff) |
show "ISO x" instead of "Verstärkung: ISOx" on detail page
-rwxr-xr-x | bin/pyggle | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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> </td></tr>\n" |