YoBoY has proposed merging lp:~yoboy-leguesh/loco-directory/bugfix-lp-622126 
into lp:loco-directory.

Requested reviews:
  loco-directory-dev (loco-directory-dev)
Related bugs:
  #622126 add a space under the team lists
  https://bugs.launchpad.net/bugs/622126


Separated each continents in its own <article> tag, deleted the 
id="main-content".
-- 
https://code.launchpad.net/~yoboy-leguesh/loco-directory/bugfix-lp-622126/+merge/33404
Your team loco-directory-dev is requested to review the proposed merge of 
lp:~yoboy-leguesh/loco-directory/bugfix-lp-622126 into lp:loco-directory.
=== modified file 'loco_directory/media/css/newstyle.css'
--- loco_directory/media/css/newstyle.css	2010-08-19 07:42:52 +0000
+++ loco_directory/media/css/newstyle.css	2010-08-23 15:24:45 +0000
@@ -6,6 +6,7 @@
 }
 label {
     font-weight: bold;
+    white-space: nowrap;
 }
 #venue-map-selector {
     width: 400px;

=== modified file 'loco_directory/templates/teams/team_list.html'
--- loco_directory/templates/teams/team_list.html	2010-08-21 21:07:34 +0000
+++ loco_directory/templates/teams/team_list.html	2010-08-23 15:24:45 +0000
@@ -18,9 +18,9 @@
 {% endblock %}
 
 {% block content %}
-<article id="main-content" class="main-content">
 {% if team_list %}
   {% for continent in continents %}{% if continent.related_teams %}
+    <article class="main-content">
       <h2><a name="{{continent.name}}">{{continent.name}}</a></h2>
           <ul>
           {{colcycle.reset}}
@@ -28,10 +28,12 @@
             <li title="{% if team.approved %}{% blocktrans with team.name as teamname %}{{ teamname }} approved{% endblocktrans %}{% else %}{% blocktrans with team.name as teamname %}{{ teamname }} not approved{% endblocktrans %}{% endif %}" class="{% if team.approved %}approved{% else %}unapproved{% endif %} {{colcycle.next}}"><a href="{{ team.get_absolute_url }}">{{ team.name }}</a></li>
           {% endfor %}
           </ul>
+    </article>
           <br class="clear" />
   {% endif %}{% endfor %}
 
   {% if countries_without_continent_have_teams %}
+    <article class="main-content">
     <h2>{% trans "Countries without continent" %}</h2>
     {% for country in countries_without_continent %}{% if country.related_teams %}
         <h3>{{country.name}}</h3>
@@ -43,9 +45,11 @@
         </ul>
         <br class="clear" />
       {% endif %}{% endfor %}
+    </article>
   {% endif %}
 
   {% if teams_without_country %}
+    <article class="main-content">
     <h2>{% trans "Teams without country" %}</h2>
     <ul>
     {{colcycle.reset}}
@@ -54,9 +58,9 @@
     {% endfor %}
     </ul>
     <br class="clear" />
+    </article>
   {% endif %}
-
 {% endif %}
-</article>
+
 
 {% endblock %}

_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to