From 6665585345e1a0f1d0658721c3a750e28c646496 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Mon, 24 Mar 2014 20:49:04 -0500 Subject: [PATCH] project: show tags --- code/Page/project.js | 12 ++++++++++++ code/Page/project.skin | 10 ++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/code/Page/project.js b/code/Page/project.js index 5c27d564e..e3b83d287 100644 --- a/code/Page/project.js +++ b/code/Page/project.js @@ -57,6 +57,18 @@ function getregistrant_macro (param) } else { return('')} } +function gettags_macro (param) + { + var tagString = 'Tags: '; + if (this.category) + tagString += this.category; + if (this.prj_Status) + tagString += this.prj_Status; + if (this.boardType) + tagString += this.boardType; + return(tagString); + } + function updatetime_macro (param) { return ("" + this.updatetime); diff --git a/code/Page/project.skin b/code/Page/project.skin index 830b45688..3274eed52 100644 --- a/code/Page/project.skin +++ b/code/Page/project.skin @@ -7,7 +7,12 @@ - +
<% this.body %>


Registrar: <% this.registrar %>
<% this.gethomepage %>
<% this.body %>
+
+
+ Registrar: <% this.registrar %>
+ <% this.gethomepage %> +
@@ -24,6 +29,7 @@ var disqus_shortname = 'beagleboard-project'; +<% this.gettags %>
Projected created on: <%this.updatetime%>
Submitted by: <% this.registrar %>
Last updated on: <% this.time %>
@@ -47,4 +53,4 @@ $(document).ready(function() { $('.projimg').nailthumb({width:300, height:300, replaceAnimation:null, method:'resize', fitDirection:'top right'}); }); - \ No newline at end of file + -- 2.11.4.GIT