mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
change label to tooltip for fileView-actionbar buttons
This commit is contained in:
@@ -27,26 +27,28 @@ class FileButtonGroup extends React.Component<Props> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ButtonAddons>
|
<ButtonAddons>
|
||||||
|
<div title={t("sources.content.sourcesButton")}>
|
||||||
<Button
|
<Button
|
||||||
action={this.showSources}
|
action={this.showSources}
|
||||||
className="reduced-mobile"
|
className="reduced"
|
||||||
color={this.color(!historyIsSelected)}
|
color={this.color(!historyIsSelected)}
|
||||||
>
|
>
|
||||||
<span className="icon">
|
<span className="icon">
|
||||||
<i className="fas fa-code" />
|
<i className="fas fa-code" />
|
||||||
</span>
|
</span>
|
||||||
<span>{t("sources.content.sourcesButton")}</span>
|
|
||||||
</Button>
|
</Button>
|
||||||
|
</div>
|
||||||
|
<div title={t("sources.content.historyButton")}>
|
||||||
<Button
|
<Button
|
||||||
action={this.showHistory}
|
action={this.showHistory}
|
||||||
className="reduced-mobile"
|
className="reduced"
|
||||||
color={this.color(historyIsSelected)}
|
color={this.color(historyIsSelected)}
|
||||||
>
|
>
|
||||||
<span className="icon">
|
<span className="icon">
|
||||||
<i className="fas fa-history" />
|
<i className="fas fa-history" />
|
||||||
</span>
|
</span>
|
||||||
<span>{t("sources.content.historyButton")}</span>
|
|
||||||
</Button>
|
</Button>
|
||||||
|
</div>
|
||||||
</ButtonAddons>
|
</ButtonAddons>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user