aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx
index d658ab13be7..2315bfcb57b 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx
@@ -44,7 +44,7 @@ export default class ProfileHeader extends React.PureComponent<Props> {
const { profile } = this.props;
let inner = (
<span>
- {translate('quality_profiles.updated_')} <ProfileDate date={profile.userUpdatedAt} />
+ {translate('quality_profiles.updated_')} <ProfileDate date={profile.rulesUpdatedAt} />
</span>
);
if (isStagnant(profile)) {
@@ -73,13 +73,13 @@ export default class ProfileHeader extends React.PureComponent<Props> {
return (
<header className="page-header quality-profile-header">
<div className="note spacer-bottom">
- <IndexLink to={getProfilesPath(organization)} className="text-muted">
+ <IndexLink className="text-muted" to={getProfilesPath(organization)}>
{translate('quality_profiles.page')}
</IndexLink>
{' / '}
<Link
- to={getProfilesForLanguagePath(profile.language, organization)}
- className="text-muted">
+ className="text-muted"
+ to={getProfilesForLanguagePath(profile.language, organization)}>
{profile.languageName}
</Link>
</div>
@@ -103,8 +103,8 @@ export default class ProfileHeader extends React.PureComponent<Props> {
{this.renderUsageDate()}
<li>
<Link
- to={getProfileChangelogPath(profile.name, profile.language, organization)}
- className="button">
+ className="button"
+ to={getProfileChangelogPath(profile.name, profile.language, organization)}>
{translate('changelog')}
</Link>
</li>