Remove "CSL" column in Cite -> Styles preferences
This commit is contained in:
parent
3a058c68ed
commit
20dd8c89d8
3 changed files with 4 additions and 11 deletions
|
@ -66,7 +66,6 @@ Zotero_Preferences.Cite = {
|
|||
var treerow = document.createElement('treerow');
|
||||
var titleCell = document.createElement('treecell');
|
||||
var updatedCell = document.createElement('treecell');
|
||||
var cslCell = document.createElement('treecell');
|
||||
|
||||
if (style.updated) {
|
||||
var updatedDate = Zotero.Date.formatDate(Zotero.Date.strToDate(style.updated), true);
|
||||
|
@ -78,14 +77,9 @@ Zotero_Preferences.Cite = {
|
|||
treeitem.setAttribute('id', 'zotero-csl-' + style.styleID);
|
||||
titleCell.setAttribute('label', style.title);
|
||||
updatedCell.setAttribute('label', updatedDate);
|
||||
// if not EN
|
||||
if(style.type == "csl") {
|
||||
cslCell.setAttribute('src', 'chrome://zotero/skin/tick.png');
|
||||
}
|
||||
|
||||
treerow.appendChild(titleCell);
|
||||
treerow.appendChild(updatedCell);
|
||||
treerow.appendChild(cslCell);
|
||||
treeitem.appendChild(treerow);
|
||||
treechildren.appendChild(treeitem);
|
||||
|
||||
|
|
|
@ -58,9 +58,8 @@
|
|||
onselect="document.getElementById('styleManager-delete').disabled = undefined"
|
||||
onkeypress="if (event.keyCode == event.DOM_VK_DELETE) { Zotero_Preferences.Cite.deleteSelectedStyle(); }">
|
||||
<treecols>
|
||||
<treecol id="styleManager-title" label="&zotero.preferences.cite.styles.styleManager.title;" flex="3"/>
|
||||
<treecol id="styleManager-updated" label="&zotero.preferences.cite.styles.styleManager.updated;" flex="1"/>
|
||||
<treecol id="styleManager-csl" label="&zotero.preferences.cite.styles.styleManager.csl;"/>
|
||||
<treecol id="styleManager-title" label="&zotero.preferences.cite.styles.styleManager.title;" flex="1"/>
|
||||
<treecol id="styleManager-updated" label="&zotero.preferences.cite.styles.styleManager.updated;"/>
|
||||
</treecols>
|
||||
<treechildren id="styleManager-rows"/>
|
||||
</tree>
|
||||
|
|
|
@ -247,9 +247,9 @@ grid row hbox:first-child
|
|||
-moz-box-align: center;
|
||||
}
|
||||
|
||||
#styleManager-csl
|
||||
#styleManager-updated
|
||||
{
|
||||
width: 36px;
|
||||
width: 105px;
|
||||
}
|
||||
|
||||
#zotero-prefpane-keys textbox
|
||||
|
|
Loading…
Reference in a new issue