Web: Files: added title to VersionHistory
This commit is contained in:
parent
19542a5b0f
commit
3348134c28
@ -181,6 +181,7 @@ const Badges = ({
|
||||
{...onShowVersionHistoryProp}
|
||||
noHover={true}
|
||||
isVersionBadge={true}
|
||||
title={t("ShowVersionHistory")}
|
||||
/>
|
||||
</BadgeWrapper>
|
||||
)}
|
||||
|
@ -735,6 +735,7 @@ const SectionHeaderContent = (props) => {
|
||||
actions: isRoomsFolder
|
||||
? t("Files:NewRoom")
|
||||
: t("Common:Actions"),
|
||||
contextMenu: t("Translations:TitleShowFolderActions"),
|
||||
}}
|
||||
withMenu={!isRoomsFolder}
|
||||
onPlusClick={onCreateRoom}
|
||||
|
@ -128,6 +128,7 @@ const VersionRow = (props) => {
|
||||
isTabletView={isTabletView}
|
||||
isSavingComment={isSavingComment}
|
||||
isEditing={isEditing}
|
||||
contextTitle={t("Common:Actions")}
|
||||
>
|
||||
<div className={`version-row_${index}`}>
|
||||
<Box displayProp="flex" className="row-header">
|
||||
@ -141,6 +142,13 @@ const VersionRow = (props) => {
|
||||
versionGroup={info.versionGroup}
|
||||
{...onClickProp}
|
||||
t={t}
|
||||
title={
|
||||
index > 0
|
||||
? isVersion
|
||||
? t("Files:MarkAsRevision")
|
||||
: t("Files:MarkAsVersion")
|
||||
: ""
|
||||
}
|
||||
/>
|
||||
<Link
|
||||
onClick={onOpenFile}
|
||||
|
@ -135,6 +135,7 @@ const ControlButtons = ({
|
||||
isFill
|
||||
getData={getContextOptionsFolder}
|
||||
isDisabled={false}
|
||||
title={titles?.contextMenu}
|
||||
/>
|
||||
|
||||
{!isDesktop && (
|
||||
|
@ -40,6 +40,7 @@ class Row extends React.Component {
|
||||
getContextModel,
|
||||
isRoom,
|
||||
withoutBorder,
|
||||
contextTitle,
|
||||
} = this.props;
|
||||
|
||||
const renderCheckbox = Object.prototype.hasOwnProperty.call(
|
||||
@ -168,6 +169,7 @@ class Row extends React.Component {
|
||||
directionX="right"
|
||||
isNew={true}
|
||||
onClick={onContextMenu}
|
||||
title={contextTitle}
|
||||
/>
|
||||
) : (
|
||||
<div className="expandButton"> </div>
|
||||
|
Loading…
Reference in New Issue
Block a user