[PR #4651] [MERGED] Hide home button when landing page is not set to home #17449

Closed
opened 2025-11-02 13:28:02 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4651
Author: @0rzech
Created: 8/9/2018
Status: Merged
Merged: 8/27/2018
Merged by: @techknowlogick

Base: masterHead: home-button-hiding


📝 Commits (1)

  • bc37bfd Hide home button when landing page is not set to home

📊 Changes

2 files changed (+16 additions, -7 deletions)

View changed files

📝 modules/context/context.go (+5 -0)
📝 templates/base/head.tmpl (+11 -7)

📄 Description

When LANDING_PAGE is set to explore or organizations, the home button is hidden and explore button is labeled 'home'. This removes redundancy of these buttons and inconsistent highlighting after clicking on home button. Fixes #4648.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4651 **Author:** [@0rzech](https://github.com/0rzech) **Created:** 8/9/2018 **Status:** ✅ Merged **Merged:** 8/27/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `home-button-hiding` --- ### 📝 Commits (1) - [`bc37bfd`](https://github.com/go-gitea/gitea/commit/bc37bfda7f935b71b9dd65f39e71b54836485bb9) Hide home button when landing page is not set to home ### 📊 Changes **2 files changed** (+16 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `modules/context/context.go` (+5 -0) 📝 `templates/base/head.tmpl` (+11 -7) </details> ### 📄 Description When `LANDING_PAGE` is set to `explore` or `organizations`, the home button is hidden and explore button is labeled 'home'. This removes redundancy of these buttons and inconsistent highlighting after clicking on home button. Fixes #4648. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 13:28:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17449