From 026bc7cf6cb062254054c70a46bbf4169cf60be0 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 7 Sep 2014 21:11:31 +0200 Subject: Add an error log that captures parsing problems of project files. --- web/views/taginfo/project_error_log.erb | 8 ++++++++ web/views/taginfo/projects.erb | 9 +++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 web/views/taginfo/project_error_log.erb (limited to 'web/views') diff --git a/web/views/taginfo/project_error_log.erb b/web/views/taginfo/project_error_log.erb new file mode 100644 index 0000000..5417905 --- /dev/null +++ b/web/views/taginfo/project_error_log.erb @@ -0,0 +1,8 @@ +
+

Error log for project <%= h(@data['name']) %>

+
+
+
+<%= h(@data['error_log']) %>
+    
+
diff --git a/web/views/taginfo/projects.erb b/web/views/taginfo/projects.erb index bca034d..d889aeb 100644 --- a/web/views/taginfo/projects.erb +++ b/web/views/taginfo/projects.erb @@ -4,7 +4,7 @@ Icon Project ID
Project Name - Fetch Date
UpdatedCodeRes + Fetch Date
UpdatedCodeStatus JSON URL
Data URLFmt
Vers Project URL
Doc URLContact Description @@ -23,7 +23,12 @@ <%= h(project['data_updated']) %> <%= h(project['fetch_status']) %> - <%= h(project['status']) %> + + <%= h(project['status']) %>
+ <% if project['error_log'] != '' %> + ERROR + <% end %> + <%= h(project['json_url']) %>
<%= h(project['data_url']) %> -- cgit v1.2.3