Finished manage institution site. Redone how cooperation history works.
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<h1>TODO ime institucije</h1>
|
||||
<h1>{{institution.name}}</h1>
|
||||
<h3>Seznam uporabnikov v vaši instituciji</h3>
|
||||
<table class="tableFixHead">
|
||||
<thead>
|
||||
@@ -62,11 +62,12 @@
|
||||
<td>{{item.email}}</td>
|
||||
<td>
|
||||
<div>
|
||||
TODO: izpiši vlogo <a href="javascript:void(0);" onclick="toggleEditForm(this)" class="toggle-edit-role">Spremeni</a>
|
||||
<a href="javascript:void(0);" onclick="toggleEditForm(this)" class="toggle-edit-role">Spremeni</a>
|
||||
{{role_map[item.id]}}
|
||||
</div>
|
||||
<form action="../changeuserrole" method="post" style="display:none;">
|
||||
<form action="../changeuserrole-institution" method="post" style="display:none;">
|
||||
<input type="hidden" id="user-id" name="user-id" value="{{item.id}}"/>
|
||||
<select class="role">
|
||||
<select class="role" name="role">
|
||||
<option value="coordinator">Koordinator/-ka</option>
|
||||
<option value="mentor">Mentor/-ica</option>
|
||||
<option value="other">Druga vloga</option>
|
||||
@@ -98,4 +99,4 @@
|
||||
|
||||
|
||||
</script>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user