Browse Source

Add student status on admin_view for Advanced Subsciption - refs BT#10175

Angel Fernando Quiroz Campos 9 năm trước cách đây
mục cha
commit
d5467da510
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      plugin/advanced_subscription/views/admin_view.tpl

+ 6 - 0
plugin/advanced_subscription/views/admin_view.tpl

@@ -77,6 +77,12 @@
                             >
                                 {{ 'RejectInfinitive' | get_plugin_lang('AdvancedSubscriptionPlugin') }}
                             </a>
+                            {% else %}
+                                {% if student.status == approveAdmin%}
+                                    <span class="label label-success">{{ 'Accepted'|get_lang }}</span>
+                                {% elseif student.status == disapproveAdmin %}
+                                    <span class="label label-danger">{{ 'Rejected'|get_lang }}</span>
+                                {% endif %}
                             {% endif %}
                         </td>
                     </tr>