Replace references to Danbooru with Danbooru.config.app_name.

* Also replace references to github with a configurable repo.
* Plus link commit ref in footer to the commit in the repo.
This commit is contained in:
evazion
2016-10-24 18:06:39 -05:00
parent 58ef469a76
commit fd4eb8fa08
4 changed files with 22 additions and 6 deletions

View File

@@ -20,8 +20,8 @@
</ul>
<ul>
<li><h1>Tools</h1></li>
<li><%= link_to("Source Code", "https://github.com/r888888888/danbooru") %></li>
<li><%= link_to("Bug Reports", "https://github.com/r888888888/danbooru/issues") %></li>
<li><%= link_to("Source Code", Danbooru.config.source_code_url) %></li>
<li><%= link_to("Bug Reports", Danbooru.config.issues_url) %></li>
<li><%= link_to("Keyboard Shortcuts", keyboard_shortcuts_path) %></li>
<li><%= link_to("Bookmarklet", bookmarklet_path) %></li>
<li><%= link_to("API Documentation", wiki_pages_path(:title => "help:api")) %></li>