[SCM] live-studio branch, master, updated. 3fdce69a849073859345dd6ed557f13fe2ed3855

Chris Lamb lamby at debian.org
Fri Jul 30 21:14:34 UTC 2010


The following commit has been merged in the master branch:
commit 3fdce69a849073859345dd6ed557f13fe2ed3855
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Jul 30 17:12:48 2010 -0400

    Don't show build table if we don't have any builds.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

diff --git a/templates/config/view.html b/templates/config/view.html
index ee4ca6e..a0a3de5 100644
--- a/templates/config/view.html
+++ b/templates/config/view.html
@@ -10,6 +10,7 @@
 <input type="submit" value="Build">
 </form>
 
+{% if config.builds.exists %}
 <table cellpadding="5">
 <tr>
   <th>#</th>
@@ -45,6 +46,7 @@
 </tr>
 {% endfor %}
 </table>
+{% endif %}
 
 <p><a href="{% url config:edit config.pk %}">Edit</a></p>
 

-- 
live-studio



More information about the debian-live-changes mailing list