aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
Diffstat (limited to 'web/views')
-rw-r--r--web/views/project.erb8
-rw-r--r--web/views/projects.erb2
2 files changed, 8 insertions, 2 deletions
diff --git a/web/views/project.erb b/web/views/project.erb
index 0b7dea4..16637c1 100644
--- a/web/views/project.erb
+++ b/web/views/project.erb
@@ -16,11 +16,13 @@
<tr><th><%= h(t.pages.project.overview.documentation_url) %>:</th><td id="doc_url"></td></tr>
<% end %>
<tr><th><%= h(t.pages.project.overview.last_update) %>:</th><td><%= h(@project.data_updated) %></td></tr>
+ <tr><th><%= h(t.pages.project.overview.json_url) %>:</th><td id="json_url"></td></tr>
</table>
+ <p><i><%= t.pages.project.overview.info %></i></p>
</div>
<div id="tags">
<h2><%= h(t.pages.project.tags.title) %></h2>
- <p><%= h(t.pages.project.tags.intro) %></p>
+ <p><i><%= h(t.pages.project.tags.intro) %></i></p>
<table id="grid-tags">
</table>
</div>
@@ -30,11 +32,15 @@
function page_init2() {
var project = #{ @project_id.to_json },
project_url = #{ @project.project_url.to_json },
+ json_url = #{ @project.json_url.to_json },
doc_url = #{ @project.doc_url.to_json };
if (project_url) {
jQuery('#project_url').html(link_to_url(project_url));
}
+ if (json_url) {
+ jQuery('#json_url').html(link_to_url(json_url));
+ }
if (doc_url) {
jQuery('#doc_url').html(link_to_url(doc_url));
}
diff --git a/web/views/projects.erb b/web/views/projects.erb
index ec95947..ce04fa2 100644
--- a/web/views/projects.erb
+++ b/web/views/projects.erb
@@ -1,6 +1,6 @@
<div class="pre">
<h1 class="section"><%= h(t.taginfo.projects) %></h1>
- <p><%= h(t.pages.projects.intro) %></p>
+ <p><%= t.pages.projects.intro %></p>
</div>
<div class="box resize">
<table id="grid-projects">