Browse Source

Logical organisation (#575)

Just like profile.html, but for external profiles (this was missed when profile.html was changed).

Reviewed-on: #575
Co-authored-by: I am Fastidious <fastidious@noreply@mills.io>
Co-committed-by: I am Fastidious <fastidious@noreply@mills.io>
pull/576/head
I am Fastidious 2 weeks ago
committed by James Mills
parent
commit
c080df8bab
  1. 2
      internal/theme/templates/externalProfile.html

2
internal/theme/templates/externalProfile.html

@ -62,12 +62,12 @@
{{ end }}
</div>
</div>
{{ template "post" (dict "Authenticated" $.Authenticated "User" $.User "TwtPrompt" $.TwtPrompt "MaxTwtLength" $.MaxTwtLength "Reply" $.Reply "AutoFocus" true "CSRFToken" $.CSRFToken "Ctx" .) }}
<div class="container">
<hgroup>
<h2>{{ tr . "RecentTwtsTitle" }}</h2>
<h3>{{ tr . "RecentTwtsSummary" (dict "Username" .Profile.Username) }}</h3>
</hgroup>
</div>
{{ template "post" (dict "Authenticated" $.Authenticated "User" $.User "TwtPrompt" $.TwtPrompt "MaxTwtLength" $.MaxTwtLength "Reply" $.Reply "AutoFocus" true "CSRFToken" $.CSRFToken "Ctx" .) }}
{{ template "feed" (dict "Authenticated" $.Authenticated "User" $.User "Profile" $.Profile "LastTwt" $.LastTwt "Pager" $.Pager "Twts" $.Twts "Ctx" . "view" "profile") }}
{{ end }}

Loading…
Cancel
Save