Fix mailto link on top right
This commit is contained in:
parent
96ec99e65a
commit
5241af57cc
@ -48,6 +48,9 @@ public class Start {
|
|||||||
model.addObject("role", role);
|
model.addObject("role", role);
|
||||||
model.addObject("user", user);
|
model.addObject("user", user);
|
||||||
|
|
||||||
|
String contactEmail = request.getServletContext().getInitParameter("email");
|
||||||
|
model.addObject("contactEmail", contactEmail);
|
||||||
|
|
||||||
// if everything ok then go to webgoat UI
|
// if everything ok then go to webgoat UI
|
||||||
model.setViewName("main_new");
|
model.setViewName("main_new");
|
||||||
return model;
|
return model;
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
<button type="button" class="btn btn-default right_nav_button" ng-click="showAbout()" data-toggle="tooltip" title="About WebGoat">
|
<button type="button" class="btn btn-default right_nav_button" ng-click="showAbout()" data-toggle="tooltip" title="About WebGoat">
|
||||||
<i class="fa fa-info"></i>
|
<i class="fa fa-info"></i>
|
||||||
</button>
|
</button>
|
||||||
<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">
|
<a href="mailto:${contactEmail}?Subject=Webgoat%20feedback" target="_top">
|
||||||
<button type="button" class="btn btn-default right_nav_button"data-toggle="tooltip" title="Contact Us">
|
<button type="button" class="btn btn-default right_nav_button"data-toggle="tooltip" title="Contact Us">
|
||||||
<i class="fa fa-envelope"></i>
|
<i class="fa fa-envelope"></i>
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user