Compare commits

...

4 Commits

  1. 5
      Dockerfile
  2. 13
      templates/explore/users.tmpl

5
Dockerfile

@ -33,6 +33,11 @@ COPY --from=builder /gitea/gitea /app/gitea/gitea
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea && \
ln -s /data /app/gitea/data
# Copy mods on templates
# https://docs.gitea.io/en-us/customizing-gitea/#customizing-gitea-pages-and-resources
RUN mkdir -p /data/templates/explore/
COPY templates/explore/users.tmpl /data/templates/explore/users.tmpl
VOLUME ["/data"]
ENV GITEA_CUSTOM /data
ENV HOME /data

13
templates/explore/users.tmpl

@ -0,0 +1,13 @@
{{template "base/head" .}}
<div class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/search" .}}
<div class="ui user list">
<div>{{$.i18n.Tr "explore.user_no_results"}}</div>
</div>
</div>
</div>
{{template "base/footer" .}}
Loading…
Cancel
Save