mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
Use <th> instead of <td> where appropriate
This commit is contained in:
@@ -40,21 +40,21 @@ class ProfileInfo extends React.Component<Props> {
|
||||
<table className="table content">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">
|
||||
<th>
|
||||
{t("profile.username")}
|
||||
</td>
|
||||
</th>
|
||||
<td>{me.name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">
|
||||
<th>
|
||||
{t("profile.displayName")}
|
||||
</td>
|
||||
</th>
|
||||
<td>{me.displayName}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">
|
||||
<th>
|
||||
{t("profile.mail")}
|
||||
</td>
|
||||
</th>
|
||||
<td>
|
||||
<MailLink address={me.mail} />
|
||||
</td>
|
||||
@@ -74,10 +74,10 @@ class ProfileInfo extends React.Component<Props> {
|
||||
if (me.groups.length > 0) {
|
||||
groups = (
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("profile.groups")}</td>
|
||||
<th>{t("profile.groups")}</th>
|
||||
<td className={classes.spacing}>
|
||||
<ul>
|
||||
{me.groups.map((group, index) => {
|
||||
{me.groups.map(group => {
|
||||
return <li>{group}</li>;
|
||||
})}
|
||||
</ul>
|
||||
|
||||
@@ -27,25 +27,25 @@ class Details extends React.Component<Props> {
|
||||
<table className="table content">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("group.name")}</td>
|
||||
<th>{t("group.name")}</th>
|
||||
<td>{group.name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("group.description")}</td>
|
||||
<th>{t("group.description")}</th>
|
||||
<td>{group.description}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("group.type")}</td>
|
||||
<th>{t("group.type")}</th>
|
||||
<td>{group.type}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("group.creationDate")}</td>
|
||||
<th>{t("group.creationDate")}</th>
|
||||
<td>
|
||||
<DateFromNow date={group.creationDate} />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("group.lastModified")}</td>
|
||||
<th>{t("group.lastModified")}</th>
|
||||
<td>
|
||||
<DateFromNow date={group.lastModified} />
|
||||
</td>
|
||||
@@ -63,7 +63,7 @@ class Details extends React.Component<Props> {
|
||||
if (group.members.length > 0) {
|
||||
member = (
|
||||
<tr>
|
||||
<td className="has-text-weight-semibold">{t("group.members")}</td>
|
||||
<th>{t("group.members")}</th>
|
||||
<td className={classes.spacing}>
|
||||
<ul>
|
||||
{group._embedded.members.map((member, index) => {
|
||||
|
||||
Reference in New Issue
Block a user