From 54fa061e06cb77ade8bce9614f6db527ebc541e1 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Sun, 8 Aug 2010 17:42:44 +0300 Subject: Show also favorite packages on dashboard --- grumpy/templates/account.html | 2 +- grumpy/templates/dashboard.html | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/grumpy/templates/account.html b/grumpy/templates/account.html index f5b8224..8436437 100644 --- a/grumpy/templates/account.html +++ b/grumpy/templates/account.html @@ -1,6 +1,6 @@ {% extends "layout.html" %} {% block title %}Your Account{% endblock %} -{% block script %} +{% block script -%} {{ importer.load_js('jquery.min') }} {{ importer.load_js('jquery-ui.min') }} +{{ importer.load_css('datatable') }} +{{ importer.load_css('ui-lightness/jquery-ui') }} {% endblock %} {% block body %}

Hi, {{ g.user.email.split('@')[0] }}

@@ -26,4 +35,13 @@ $(document).ready(function() { {% else %} You are not listed as maintainer of any packages {% endif %} +

Favorite packages

+ + + + +{% for pkg in g.user.favorites %} + +{% endfor %} +
Package
{{ pkg.key | e }}
{% endblock %} -- cgit v1.2.3-65-gdbad