Added buttons to remove document from search results
This commit is contained in:
parent
214c23a3eb
commit
15f01d5e37
4 changed files with 19 additions and 2 deletions
|
@ -235,6 +235,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
createRemoveButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -3511,6 +3511,19 @@ label.switch >.collapseTextControl >img {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.removeDocFromSearch {
|
||||||
|
border-inline-width: thin;
|
||||||
|
border-top-width: thin;
|
||||||
|
border-bottom-width: thin;
|
||||||
|
border-color: #8B4513;
|
||||||
|
border-inline-style: solid;
|
||||||
|
border-top-style: solid;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
margin-left: 0.4em;
|
||||||
|
padding: 0.0em 0.2em 0.1em 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
/* -------------------------------------------------> */
|
/* -------------------------------------------------> */
|
||||||
/* FONTS --------------------------------> */
|
/* FONTS --------------------------------> */
|
||||||
/* -------------------------------------------------> */
|
/* -------------------------------------------------> */
|
||||||
|
|
|
@ -106,4 +106,4 @@ organizer_role = Organizer Role
|
||||||
faculty_memberships = Faculty Memberships
|
faculty_memberships = Faculty Memberships
|
||||||
edit_mailing_address = Edit Mailing Address
|
edit_mailing_address = Edit Mailing Address
|
||||||
add_capitalized = Add
|
add_capitalized = Add
|
||||||
|
remove_doc_from_search_results=Удалить из результатов поиска
|
||||||
|
|
|
@ -219,7 +219,10 @@
|
||||||
var name = button.textContent;
|
var name = button.textContent;
|
||||||
var a = document.createElement('a');
|
var a = document.createElement('a');
|
||||||
a.setAttribute('href',"javascript:excludeDocByURI(\'" + escapeQutes(name) + "\',\'" + escapeQutes(uri) + "\');");
|
a.setAttribute('href',"javascript:excludeDocByURI(\'" + escapeQutes(name) + "\',\'" + escapeQutes(uri) + "\');");
|
||||||
a.textContent = " Удалить документ из поиска";
|
a.setAttribute('class',"removeDocFromSearch");
|
||||||
|
|
||||||
|
a.textContent = "${i18n().remove_doc_from_search_results}" ;
|
||||||
|
|
||||||
button.appendChild(a);
|
button.appendChild(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue