Skip to content

Commit

Permalink
added page Credits, closes #57
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Apr 8, 2016
1 parent fff87ed commit 160dac2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions catalogues/dictionary_de.xml
Original file line number Diff line number Diff line change
Expand Up @@ -436,4 +436,5 @@
<entry xml:id="faq">FAQ</entry>
<entry xml:id="api">API</entry>
<entry xml:id="pleaseEnterSearchTerms">Bitte Suchbegriffe eintragen</entry>
<entry xml:id="credits">Danksagungen</entry>
</dictionary>
1 change: 1 addition & 0 deletions catalogues/dictionary_en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,5 @@
<entry xml:id="faq">FAQ</entry>
<entry xml:id="api">API</entry>
<entry xml:id="pleaseEnterSearchTerms">Please enter search terms</entry>
<entry xml:id="credits">Credits</entry>
</dictionary>
1 change: 1 addition & 0 deletions modules/controller.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ declare function controller:dispatch-project($exist-vars as map(*)) as element(e
case 'contact' return controller:forward-html('/templates/var.html', map:new(($exist-vars, map:entry('docID', 'A070009'), map:entry('docType', 'var'))))
case 'about' return controller:forward-html('/templates/var.html', map:new(($exist-vars, map:entry('docID', 'A070002'), map:entry('docType', 'var'))))
case 'volContents' return controller:forward-html('/templates/var.html', map:new(($exist-vars, map:entry('docID', 'A070011'), map:entry('docType', 'var'))))
case 'credits' return controller:forward-html('/templates/var.html', map:new(($exist-vars, map:entry('docID', 'A070013'), map:entry('docType', 'var'))))
default return controller:error($exist-vars, 404)
};

Expand Down
3 changes: 3 additions & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
<li>
<a href="$link/project/projectDescription.html" data-template="lang:translate">projectDescription</a>
</li>
<li>
<a href="$link/project/credits.html" data-template="lang:translate">credits</a>
</li>
</ul>
</li>
<li data-template="app:set-active-nav" id="help-nav">
Expand Down

0 comments on commit 160dac2

Please sign in to comment.