Skip to content

Commit

Permalink
Show username in page titles when viewing a user's tests
Browse files Browse the repository at this point in the history
  • Loading branch information
linrock authored and ppigazzini committed May 10, 2020
1 parent ed2672e commit 3edeb62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions fishtest/fishtest/templates/tests_user.mak
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
<h2>${username}</h2>

<%include file="run_tables.mak"/>

<script>
document.title = '${username} | Stockfish Testing';
</script>
2 changes: 1 addition & 1 deletion fishtest/fishtest/templates/tests_view.mak
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@

<script type="text/javascript" src="/js/highlight.diff.min.js"></script>
<script>
document.title = '${page_title}';
document.title = '${page_title} | Stockfish Testing';

$(function() {
let $copyDiffBtn = $("#copy-diff");
Expand Down

0 comments on commit 3edeb62

Please sign in to comment.