summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/template/profile_about_user.tmpl12
-rw-r--r--web/template/profile_fields.tmpl2
2 files changed, 7 insertions, 7 deletions
diff --git a/web/template/profile_about_user.tmpl b/web/template/profile_about_user.tmpl
index 7f3ce0e97..7b010a0ee 100644
--- a/web/template/profile_about_user.tmpl
+++ b/web/template/profile_about_user.tmpl
@@ -18,23 +18,23 @@
*/ -}}
{{- with . }}
-<section class="about-user" role="region" aria-labelledby="about-header">
- <div class="col-header">
+<section id="profile-about-user" class="about-user" role="region" aria-labelledby="about-header">
+ <div id="profile-col-header" class="col-header">
<h3 id="about-header">About<span class="sr-only">&nbsp;{{- .account.Username -}}</span></h3>
</div>
{{- if .account.Fields }}
{{- include "profile_fields.tmpl" . | indent 1 }}
{{- end }}
- <h4 class="sr-only">Bio</h4>
- <div class="bio p-note">
+ <div id="profile-bio" class="bio p-note">
+ <h4 class="sr-only">Bio</h4>
{{- if .account.Note }}
{{ emojify .account.Emojis (noescape .account.Note) }}
{{- else }}
<p>This GoToSocial user hasn't written a bio yet!</p>
{{- end }}
</div>
- <h4 class="sr-only">Stats</h4>
- <dl class="accountstats">
+ <dl id="profile-stats" class="accountstats">
+ <h4 class="sr-only">Stats</h4>
<div class="stats-item">
<dt class="joineddt text-cutoff">Joined</dt>
<dd class="joineddd text-cutoff"><time datetime="{{- .account.CreatedAt -}}">{{- .account.CreatedAt | timestampVague -}}</time></dd>
diff --git a/web/template/profile_fields.tmpl b/web/template/profile_fields.tmpl
index e9005d4c9..cd9e4eb6a 100644
--- a/web/template/profile_fields.tmpl
+++ b/web/template/profile_fields.tmpl
@@ -18,7 +18,7 @@
*/ -}}
{{- with . }}
-<div class="fields">
+<div id="profile-fields" class="fields">
<h4 class="sr-only">Fields</h4>
<dl>
{{- range .account.Fields }}