From 9d5f8d640fac5b6030c7abdfa0f31c789f8815fb Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Wed, 9 Mar 2016 18:17:46 -0600 Subject: [PATCH] Improved page titles - Fixes #198 --- static/js/app/campaign_results.js | 1 + templates/base.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/app/campaign_results.js b/static/js/app/campaign_results.js index 562c5004..ebd7a5d4 100644 --- a/static/js/app/campaign_results.js +++ b/static/js/app/campaign_results.js @@ -293,6 +293,7 @@ function load() { .success(function(c) { campaign = c if (campaign) { + $("title").text(c.name + " - Gophish") $("#loading").hide() $("#campaignResults").show() // Set the title diff --git a/templates/base.html b/templates/base.html index 5bd9c9e1..8cc076f2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,7 +10,7 @@ - Gophish - {{ .Title }} + {{ .Title }} - Gophish