From e46fc9a82191c9f338a6bae5b57f10ce732c7433 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 5 Sep 2014 15:33:19 +0200 Subject: Add/update texts about projects. --- web/views/project.erb | 8 +++++++- web/views/projects.erb | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'web/views') 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 @@ <%= h(t.pages.project.overview.documentation_url) %>: <% end %> <%= h(t.pages.project.overview.last_update) %>:<%= h(@project.data_updated) %> + <%= h(t.pages.project.overview.json_url) %>: +

<%= t.pages.project.overview.info %>

<%= h(t.pages.project.tags.title) %>

-

<%= h(t.pages.project.tags.intro) %>

+

<%= h(t.pages.project.tags.intro) %>

@@ -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 @@

<%= h(t.taginfo.projects) %>

-

<%= h(t.pages.projects.intro) %>

+

<%= t.pages.projects.intro %>

-- cgit v1.2.3