mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Foundation > Chapter > View Chapter details page changes for displaying user details.
This commit is contained in:
@@ -9,24 +9,24 @@
|
||||
<table class="table table-bordered small" style="max-width: 600px;">
|
||||
<tr>
|
||||
<th>Serial No.</th>
|
||||
<th>Member Name</th>
|
||||
<th>Website URL</th>
|
||||
<th>Member Details</th>
|
||||
</tr>
|
||||
{% for user in members %}
|
||||
<tr>
|
||||
<td>{{ i }}</td>
|
||||
<td>{{ frappe.db.get_value('User', user.user, 'full_name') }}</td>
|
||||
<td>{{ loop.index }}</td>
|
||||
<td>
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6">{{ frappe.db.get_value('User', user.user, 'full_name') }}</div>
|
||||
<div class="col-lg-6 col-md-6">
|
||||
{% if user.website_url %}
|
||||
<a href="{{ user.website_url }}">{{ user.website_url }}</a>
|
||||
{% else %}
|
||||
{{ user.website_url }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
{{ user.introduction }}
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
{{ user.introduction }}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
<div class="col-lg-8 col-md-8">
|
||||
<form name="user-intro" action="/join-chapter" method='POST'>
|
||||
<div class="form-group">
|
||||
<input name="name" class="form-control" type="text"
|
||||
<input name="name" class="hidden form-control" type="text"
|
||||
value="{{chapter.name}}">
|
||||
<input name="csrf_token" class="form-control" type="text"
|
||||
<input name="csrf_token" class="hidden form-control" type="text"
|
||||
value="{{frappe.session.csrf_token}}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user