I try to modify the file :
/edx-platform/lms/templates/student_account/account_settings.underscore
I add the code in red . But it is not working .
I would like to know :
1. What is the kind of the template grammar?( Python template? or
others? ) ( I would like to learn and then I could modify my code )
2. I could not find what's wrong with the code in red . Do you have any
suggestion ?
<div class="account-settings-sections">
<% _.each(accountSettingsTabs, function(tab) { %>
<div id="<%- tab.name %>-tabpanel"
class="account-settings-tabpanels <% if (!tab.class) { %> hidden <% } %>"
aria-label="<%- tab.label %>" role="tabpanel"></div>
<% }); %>
<% if (tab.name === "nid_tab_name") { %>
.......the code I want to do.........
<% } %>
</div>
--
You received this message because you are subscribed to the Google Groups
"General Open edX discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/edx-code/feebc664-89f9-47d2-be51-5751bb18c046%40googlegroups.com.