Skip to content

Extract header and footer content to separate templates #4797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 7, 2018

Conversation

lukasbestle
Copy link
Contributor

This change makes it easier to customize the header and footer content. Before this change, the whole header and footer had to be overridden, including the meta, style and script tags.

Apart from moving the code to separate files, there are no other changes to the templates in this PR.

@codecov-io
Copy link

codecov-io commented Aug 26, 2018

Codecov Report

Merging #4797 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4797      +/-   ##
==========================================
- Coverage   37.27%   37.26%   -0.01%     
==========================================
  Files         305      305              
  Lines       45170    45170              
==========================================
- Hits        16837    16834       -3     
- Misses      25896    25898       +2     
- Partials     2437     2438       +1
Impacted Files Coverage Δ
modules/process/manager.go 76.81% <0%> (-4.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fab7937...5ce4e13. Read the comment docs.

@bkcsoft bkcsoft added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 26, 2018
@lunny lunny added the topic/ui Change the appearance of the Gitea UI label Aug 26, 2018
@techknowlogick
Copy link
Member

There is a PR #4651 that is pending a merge that will likely require changes to be made in this PR

@lukasbestle
Copy link
Contributor Author

Thanks for letting me know. If my change is accepted, I'm happy to rebase it so that you can merge it directly. :)

@lafriks
Copy link
Member

lafriks commented Aug 27, 2018

@lukasbestle please resolve conflict

This change makes it easier to customize the header and footer content. Before this change, the whole header and footer had to be overridden, including the meta, style and script tags.

Signed-off-by: Lukas Bestle <mail@lukasbestle.com>
@lukasbestle lukasbestle force-pushed the template-customization branch from bf20213 to b921f2b Compare August 27, 2018 18:48
@lukasbestle
Copy link
Contributor Author

Done :)

@bkcsoft bkcsoft added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Aug 27, 2018
@techknowlogick techknowlogick added this to the 1.6.0 milestone Sep 6, 2018
@bkcsoft bkcsoft added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Sep 7, 2018
@lunny lunny merged commit e6a0381 into go-gitea:master Sep 7, 2018
@lukasbestle lukasbestle deleted the template-customization branch September 22, 2018 18:57
@lafriks lafriks added the type/changelog Adds the changelog for a new Gitea version label Nov 10, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
@delvh delvh removed the type/changelog Adds the changelog for a new Gitea version label Oct 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants