summaryrefslogtreecommitdiffstats
path: root/src/web/template.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-07-17 20:59:04 +0200
committerSebastian Reichel <sre@ring0.de>2018-07-20 23:41:34 +0200
commit867fb84ffacbb02e44e2b6a511e61612dd2af3b1 (patch)
tree18cb2f39574370666d30eac2f581a45bfcdc891b /src/web/template.vala
parentfd24973c6996402269eece9049071a2064652592 (diff)
downloadserial-barcode-scanner-867fb84ffacbb02e44e2b6a511e61612dd2af3b1.tar.bz2
web: fix shortname
Diffstat (limited to 'src/web/template.vala')
-rw-r--r--src/web/template.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/template.vala b/src/web/template.vala
index 4dcda38..009ebcf 100644
--- a/src/web/template.vala
+++ b/src/web/template.vala
@@ -65,6 +65,7 @@ public class WebTemplate {
}
this.template = ((string) basis).replace("{{{NAVBAR}}}", ((string) menu));
+ this.template = this.template.replace("{{{SHORTNAME}}}", shortname);
this.template = this.template.replace("{{{AUTH}}}", ((string) auth));
this.template = this.template.replace("{{{CONTENT}}}", ((string) template));
this.template = this.template.replace("{{{USERNAME}}}", login.name);