community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r949424 - in /comdev/nearby_people: nearby/foaf.py templates/500.html
Date Sat, 29 May 2010 17:30:24 GMT
Author: nick
Date: Sat May 29 17:30:24 2010
New Revision: 949424

URL: http://svn.apache.org/viewvc?rev=949424&view=rev
Log:
Fix indent, and add a 500 error page for if things go wrong

Added:
    comdev/nearby_people/templates/500.html
Modified:
    comdev/nearby_people/nearby/foaf.py

Modified: comdev/nearby_people/nearby/foaf.py
URL: http://svn.apache.org/viewvc/comdev/nearby_people/nearby/foaf.py?rev=949424&r1=949423&r2=949424&view=diff
==============================================================================
--- comdev/nearby_people/nearby/foaf.py (original)
+++ comdev/nearby_people/nearby/foaf.py Sat May 29 17:30:24 2010
@@ -71,7 +71,7 @@ class FOAF(object):
                 continue
             #print uri
 
-			people_rel_uri = uri
+            people_rel_uri = uri
             people_rel_uri = people_rel_uri.replace(PEOPLE_FOAF_NAMESPACE,"")
             people_rel_uri = people_rel_uri.replace(PEOPLE_FOAF_ALT_NAMESPACE,"")
             if uri != people_rel_uri and people_rel_uri.find("/") == -1:

Added: comdev/nearby_people/templates/500.html
URL: http://svn.apache.org/viewvc/comdev/nearby_people/templates/500.html?rev=949424&view=auto
==============================================================================
--- comdev/nearby_people/templates/500.html (added)
+++ comdev/nearby_people/templates/500.html Sat May 29 17:30:24 2010
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+	<title>The Nearby Apache People App is Unavailable</title>
+        <link media="screen, projection" type="text/css" href="http://apache.org/style/compressed.css"
rel="stylesheet">
+        <link media="screen, projection" type="text/css" href="http://apache.org/style/style.css"
rel="stylesheet">
+</head>
+
+<body>
+    <div class="container">
+    <hr class="space col"/> 
+     <div class="block">
+       <div class="column span-24"> 
+		<div id="header">
+            <h1>The Nearby Apache People is Unavailable</h1>
+            <p class="alt">
+            Brought to you by the <a href="http://community.apache.org">Apache Community
Development Project</a>.
+            </p>
+		</div>
+      </div>
+    </div>
+    <div id="menu">
+      <table border="0" cellpadding="2" cellspacing="0" width="100%"> 
+        <tr class="topBar"> 
+            <td align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
+                &nbsp;<a href="http://community.apache.org" title="Community Development
Site">Community Development Site</a>&nbsp;&gt;&nbsp;<a href="/pick_place"
title="Find People">Find People</a> 
+            </td> 
+            <td align="right" valign="middle" class="topBarDiv" align="left" nowrap="true">

+            <a href="http://community.apache.org/">Apache Community Development</a>
| <a href="http://mail-archives.apache.org/mod_mbox/community-dev/">Mailling List</a>

+            </td> 
+        </tr> 
+      </table>
+    </div>
+		
+		<div id="content">
+            <p class="highlight">The nearby people application will be back online
shortly, sorry for the inconvenience</p>
+		</div>
+	</div>
+    </div>
+</body>
+</html>



Mime
View raw message