Client: InfoPanel: DetailsHelper: added index
This commit is contained in:
parent
e1f2b377d8
commit
f5416db8e0
@ -172,6 +172,7 @@ class DetailsHelper {
|
||||
"Date modified",
|
||||
"Last modified by",
|
||||
"Creation date",
|
||||
this.item.order && "Index",
|
||||
]
|
||||
: [
|
||||
"Owner",
|
||||
@ -183,6 +184,7 @@ class DetailsHelper {
|
||||
"Last modified by",
|
||||
"Creation date",
|
||||
"Versions",
|
||||
this.item.order && "Index",
|
||||
"Comments",
|
||||
]
|
||||
).filter((nP) => !!nP);
|
||||
@ -215,6 +217,9 @@ class DetailsHelper {
|
||||
case "Creation date":
|
||||
return this.t("CreationDate");
|
||||
|
||||
case "Index":
|
||||
return "Index";
|
||||
|
||||
case "Versions":
|
||||
return this.t("InfoPanel:Versions");
|
||||
case "Comments":
|
||||
@ -240,6 +245,9 @@ class DetailsHelper {
|
||||
case "Location":
|
||||
return this.getItemLocation();
|
||||
|
||||
case "Index":
|
||||
return this.getItemIndex();
|
||||
|
||||
case "Type":
|
||||
return this.getItemType();
|
||||
case "Storage Type":
|
||||
@ -326,6 +334,10 @@ class DetailsHelper {
|
||||
return text(this.item.contentLength);
|
||||
};
|
||||
|
||||
getItemIndex = () => {
|
||||
return text(this.item.order);
|
||||
};
|
||||
|
||||
getItemDateModified = () => {
|
||||
return text(parseAndFormatDate(this.item.updated, this.culture));
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user