소스 검색

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

Angel Fernando Quiroz Campos 9 년 전
부모
커밋
d5467da510
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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>