You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2016/02/08 10:41:06 UTC

svn commit: r1729112 - in /comdev/helpwanted.apache.org/site/admin: index.html newtask.lua

Author: humbedooh
Date: Mon Feb  8 09:41:06 2016
New Revision: 1729112

URL: http://svn.apache.org/viewvc?rev=1729112&view=rev
Log:
add a contributors guide URL that people can set

Modified:
    comdev/helpwanted.apache.org/site/admin/index.html
    comdev/helpwanted.apache.org/site/admin/newtask.lua

Modified: comdev/helpwanted.apache.org/site/admin/index.html
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/admin/index.html?rev=1729112&r1=1729111&r2=1729112&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/admin/index.html (original)
+++ comdev/helpwanted.apache.org/site/admin/index.html Mon Feb  8 09:41:06 2016
@@ -47,7 +47,8 @@
             <br/>
         <b>Description:</b>
             <textarea name="description" placeholder="Description goes here..." style="width: 500px; height: 200px;"></textarea><br/>
-        <b>Additional info URL: </b> <input type="text" name="url"/><br/>
+        <b>Additional info URL: </b> <input type="text" name="url"/> (optional URL with more details)<br/>
+        <b>Contributors guide URL: </b> <input type="text" name="curl"/> (optional guide on how to contribute)<br/>
         <b>Collaborative?: </b> <input type="checkbox" name="collaboration" value="yes"/><br/>
         <input type="submit" value="Save task"/>
     </form>

Modified: comdev/helpwanted.apache.org/site/admin/newtask.lua
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/admin/newtask.lua?rev=1729112&r1=1729111&r2=1729112&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/admin/newtask.lua (original)
+++ comdev/helpwanted.apache.org/site/admin/newtask.lua Mon Feb  8 09:41:06 2016
@@ -33,7 +33,8 @@ function handle(r)
     local lingos = r:escape_html(table.concat(postm.languages or {'n/a'}, ","))
     local difficulty = tonumber(post.difficulty) or 0
     local desc = r:escape_html(post.description)
-    local url = r:escape_html(post.url)
+    local url = r:escape_html(post.url or "")
+    local curl = r:escape_html(post.curl or "")
     local collab = (post.collaboration and post.collaboration == 'yes') and true or false
     
     
@@ -46,6 +47,7 @@ function handle(r)
             difficulty = difficulty,
             description = desc,
             url = url,
+            curl = curl,
             collaboration = collab,
             created = os.time(),
             author = r.user or "unknown",