diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-07-17 20:59:04 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-07-20 23:41:34 +0200 |
commit | 867fb84ffacbb02e44e2b6a511e61612dd2af3b1 (patch) | |
tree | 18cb2f39574370666d30eac2f581a45bfcdc891b /src/web/template.vala | |
parent | fd24973c6996402269eece9049071a2064652592 (diff) | |
download | serial-barcode-scanner-867fb84ffacbb02e44e2b6a511e61612dd2af3b1.tar.bz2 |
web: fix shortname
Diffstat (limited to 'src/web/template.vala')
-rw-r--r-- | src/web/template.vala | 1 |
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); |