# HG changeset patch # User dellsystem # Date 1350792777 14400 # Node ID a803a1544126116a4886c25fd1555b725c513c46 # Parent 76abe6d681ea68acb332408be1a1a0d4263141a7 Hide bundle edit link from other users diff --git a/templates/bundle/bundle.djhtml b/templates/bundle/bundle.djhtml --- a/templates/bundle/bundle.djhtml +++ b/templates/bundle/bundle.djhtml @@ -24,9 +24,11 @@ {% block content %} +{% if request.user == bundle.uploader %}

Edit this bundle

+{% endif %}

{{ bundle.name }} by