Commit 43717233 by swdanielli

small modification

parent 87553af7
......@@ -256,8 +256,8 @@ form { margin: 0em; }
<div class='recommender_modify'>
<div class='recommender_modify_title_container'><div class='backToViewButton'>&lt; Related resources</div><div class='recommender_modify_title'></div></div>
<div class="flagSourceBlock">
<div class="flagSourceBlockTitle">Give or edit the reasons why you flagged this resource, or unflag it.</div>
Reasons: <input type="text" class="flag_reason" style="height: 25px; position: relative; left: 10px;"><br>
<div class="flagSourceBlockTitle">Give or edit the reason why you flagged this resource, or unflag it.</div>
Reason: <input type="text" class="flag_reason" style="height: 25px; position: relative; left: 10px;"><br>
<input type="button" value="Save the reason" class="flag_reason_submit" style="margin-top: 0.5em">
<input type="button" value="Unflag the resource" class="unflag_button" style="margin-top: 0.5em">
</div>
......
......@@ -325,7 +325,7 @@ function RecommenderXBlock(runtime, element) {
+ '<input type="hidden" name="Policy" value="' + policyBase64 + '">'
+ '<input type="hidden" name="Signature" value="' + signature + '">'
+ 'Previewing screenshot: <input type="file" name="file"><br>'
+ '<input type="button" value="Edit resource" class="edit_submit" style="margin-top: 0.5em" disabled></form>';
+ '<input type="button" value="Save change" class="edit_submit" style="margin-top: 0.5em" disabled></form>';
$('.editSourceBlock').append(
'<div class="editSourceBlockTitle">Edit the description, hypelink, and previewing screenshot for the selected resource</div>' +
......@@ -399,7 +399,7 @@ function RecommenderXBlock(runtime, element) {
$('.flagSourceBlock').show();
$('.recommender_content').hide();
$('.recommender_modify').show();
$('.recommender_modify_title').text('Reasons for flagging the resource');
$('.recommender_modify_title').text('Reason for flagging the resource');
var flagDiv = $(this);
var flaggedResourceDiv = $(this).parent().parent();
......
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