Source

freehg / templates / frontpage.html

Diff from to

File templates/frontpage.html

 </div>
 
 <div class="span-4 last about">
-<h5>What is this site?</h5>
-<p>
-<a href="http://selenic.com/mercurial/">Mercurial</a> [Hg for short] is a Distributed Version Control System.  Instead of using a single repository per project, each developer can have their own repository.
-</p>
+    {% if user.is_authenticated %}
+        {% if user.repo_set.count %}
+            <h5>Your Repositories:</h5>
+            <p>
+                {% for repo in user.repo_set.all %}
+                    <a href="{{repo.get_absolute_url}}">{{repo.get_long_name}}</a><br />
+                {% endfor %}
+            </p>
+        {% endif %}
+    {% endif %}
+    <h5>What is this site?</h5>
+    <p>
+        <a href="http://selenic.com/mercurial/">Mercurial</a> [Hg for short] is a Distributed Version Control System.  Instead of using a single repository per project, each developer can have their own repository.
+    </p>
 
-<p>
-<strong>freeHg.org</strong> makes it quick and easy to share your repositories.
-</p>
+    <p>
+        <strong>freeHg.org</strong> makes it quick and easy to share your repositories.
+    </p>
 </div>
 
 <script type="text/javascript">