Commit b617dc4a by chrisndodge

Merge pull request #32 from edx/muhhshoaib/bug-fixes

According pane content display Section
parents 7ab4c451 365f8986
...@@ -123,7 +123,6 @@ var edx = edx || {}; ...@@ -123,7 +123,6 @@ var edx = edx || {};
if (this.template !== null) { if (this.template !== null) {
var html = this.template({proctored_exam_allowances: this.collection.toJSON()}); var html = this.template({proctored_exam_allowances: this.collection.toJSON()});
this.$el.html(html); this.$el.html(html);
this.$el.show();
} }
}, },
showAddModal: function (event) { showAddModal: function (event) {
......
...@@ -125,7 +125,6 @@ var edx = edx || {}; ...@@ -125,7 +125,6 @@ var edx = edx || {};
_.extend(data, viewHelper); _.extend(data, viewHelper);
var html = this.template(data); var html = this.template(data);
this.$el.html(html); this.$el.html(html);
this.$el.show();
} }
}, },
onRemoveAttempt: function (event) { onRemoveAttempt: function (event) {
......
<div class="wrapper-content wrapper"> <div class="wrapper-content wrapper">
<% var is_proctored_attempts = proctored_exam_attempts.length !== 0 %>
<% if (is_proctored_attempts) { %>
<section class="content"> <section class="content">
<div class="top-header"> <div class="top-header">
<div class='search-attempts'> <div class='search-attempts'>
...@@ -118,4 +120,7 @@ ...@@ -118,4 +120,7 @@
</tbody> </tbody>
</table> </table>
</section> </section>
<% } else { %>
<p> No exam results found.
<% } %>
</div> </div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment