Feature transfer template ownership
Closes #160 (closed)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
-
Owner
+1
-
-
Closes #160 (closed)
1 | {% load i18n %} | |
2 | ||
3 | <div class="pull-right"> | |
4 | <form action="{% url "dashboard.views.template-transfer-ownership" pk=object.pk %}" method="POST" style="max-width: 400px;"> | |
Please
register
or
sign in
to reply
|
Added 1 new commit:
Added 1 new commit:
81 | 81 | |
82 | 82 | <div class="panel panel-default"> |
83 | 83 | <div class="panel-heading"> |
84 | <h4 class="no-margin"><i class="fa fa-user"></i> {% trans "Owner" %}</h4> | |
85 | </div> | |
86 | <div class="panel-body"> | |
87 | {% if user == object.owner %} | |
88 | {% blocktrans %}You are the current owner of this template.{% endblocktrans %} | |
89 | {% else %} | |
90 | {% blocktrans with owner=object.owner name=object.owner.get_full_name%} | |
91 | The current owner of this template is <strong>{{name}} ({{owner}})</strong>. | |
|
4 | 4 | {% if user == instance.owner %} |
5 | 5 | {% blocktrans %}You are the current owner of this instance.{% endblocktrans %} |
6 | 6 | {% else %} |
7 | {% blocktrans with owner=instance.owner %} | |
8 | The current owner of this instance is {{owner}}. | |
7 | {% blocktrans with owner=instance.owner name=instance.owner.get_full_name%} | |
8 | The current owner of this instance is <strong>{{name}} ({{owner}})</strong>. | |
|
+1
Added 1 new commit:
Added 1 new commit:
mentioned in commit 833d5490
mentioned in commit 833d5490