Commits

Ryan Wilcox committed b1cba8a Merge

hg flow, merge release `02-20-2011-1` to publish branch `default`

Comments (0)

Files changed (4)

scrumstatus/main.py

 def scrum_email_txt(status):
     return( dict(status=status) )
 
+@route("contact_us")
+@view("contact_us")
+def contact_us():
+    return dict()
+
+@route("contact_thankyou")
+@view("contact_thankyou")
+def contact_thanks():
+    return dict()
+
 def main():
     util.run_wsgi_app(bottle.default_app())
 

scrumstatus/views/base.html

     
     <div id="footer">
       <p>&copy; 2010, Wilcox Development Solutions</p>
-      <p><a href="http://bitbucket.org/rwilcox/srumstatus/">Fork ScrumStatus on Bitbucket.org</a>
+      <p><a href="/contact_us">Contact Us</a></p>
+      <p><a href="https://bitbucket.org/rwilcox/srumstatus/issues">Report a bug</a></p>
+      <p><a href="http://bitbucket.org/rwilcox/srumstatus/">Fork ScrumStatus on Bitbucket.org</a></p>
     </div>
   </div> <!--! end of #container -->
 

scrumstatus/views/contact_thankyou.html

+
+<p>Thank you for contacting us. We'll look at your email and get back to you really soon!</p>
+
+%rebase base title="ScrumStatus: Contact Us"

scrumstatus/views/contact_us.html

+<h1>Contact Us</h1>
+<form action="http://emailformrelay.appspot.com/contact" method="post" accept-charset="utf-8">
+  
+  <input type="hidden" name="key" value="4a943fa031fb47e0e7fc1104e6f9ec0d" id="key">
+  <label for="from">Your Email Address (so we can reply to you!)</label><input type="text" name="from" value="" id="from"><br/>
+  <label for="subject">Subject</label><input type="text" name="subject" value="About Scrum Status" id="subject"><br/>
+  <textarea name="body" rows="8" cols="60"></textarea><br/>
+  <p><input type="submit" value="Continue &rarr;"></p>
+</form>
+
+%rebase base title="ScrumStatus: Contact Us"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.