X-Git-Url: http://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=templates%2Fpatchwork%2Fprofile.html;h=116d6d63bfdf575bb6f903b8832b1293327cea10;hp=624efe294a912772078b85694041044774ccc612;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hpb=3d74843a8982926ab4ce310ed937a4f41ee36810 diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html index 624efe2..116d6d6 100644 --- a/templates/patchwork/profile.html +++ b/templates/patchwork/profile.html @@ -7,16 +7,16 @@ {% block body %}

-{% if user.get_profile.maintainer_projects.count %} +{% if user.profile.maintainer_projects.count %} Maintainer of -{% for project in user.get_profile.maintainer_projects.all %} +{% for project in user.profile.maintainer_projects.all %} {{ project.linkname }}{% if not forloop.last %},{% endif %}{% endfor %}. {% endif %} -{% if user.get_profile.contributor_projects.count %} +{% if user.profile.contributor_projects.count %} Contributor to -{% for project in user.get_profile.contributor_projects.all %} +{% for project in user.profile.contributor_projects.all %} {{ project.linkname }}{% if not forloop.last %},{% endif %}{% endfor %}. {% endif %} @@ -25,10 +25,10 @@ Contributor to

Todo

-{% if user.get_profile.n_todo_patches %} +{% if user.profile.n_todo_patches %}

Your todo - list contains {{ user.get_profile.n_todo_patches }} - patch{{ user.get_profile.n_todo_patches|pluralize:"es" }}.

+ list contains {{ user.profile.n_todo_patches }} + patch{{ user.profile.n_todo_patches|pluralize:"es" }}.

{% else %}

Your todo list contains patches that have been delegated to you. You have no items in your todo list at present.