diff options
author | Jochen Topf <jochen@topf.org> | 2014-09-18 10:31:01 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-09-18 10:31:01 +0200 |
commit | 9c79bef5fe7a5597ce6030efa630eaeaf363652d (patch) | |
tree | 940c0018d34971cec2706f094d6f019fc173c422 /web | |
parent | 06ec2702f2b9b4c99c85dd2816b101eed3110648 (diff) | |
download | taginfo-9c79bef5fe7a5597ce6030efa630eaeaf363652d.tar taginfo-9c79bef5fe7a5597ce6030efa630eaeaf363652d.tar.gz |
Fiddling with project output.
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/ui/taginfo.rb | 2 | ||||
-rw-r--r-- | web/views/taginfo/project_error_log.erb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/web/lib/ui/taginfo.rb b/web/lib/ui/taginfo.rb index 702f6e7..f0fb8f7 100644 --- a/web/lib/ui/taginfo.rb +++ b/web/lib/ui/taginfo.rb @@ -111,7 +111,7 @@ class Taginfo < Sinatra::Base @section = 'taginfo' @section_title = t.taginfo.meta - @projects = @db.select("SELECT * FROM projects.projects ORDER BY name").execute() + @projects = @db.select("SELECT * FROM projects.projects ORDER BY lower(name)").execute() erb :'taginfo/projects' end diff --git a/web/views/taginfo/project_error_log.erb b/web/views/taginfo/project_error_log.erb index 420f0cd..99a9025 100644 --- a/web/views/taginfo/project_error_log.erb +++ b/web/views/taginfo/project_error_log.erb @@ -2,6 +2,7 @@ <h1 class="section">Error log for project file</h1> </div> <div class="box"> + <p><a href="/taginfo/projects">Project list</a></p> <h2><%= h(@data['name']) %></h2> <pre> <%= h(@data['error_log']) %> |