Skip to content
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

添加自定义环境标题功能-custom_title_suffix #2631

Merged
merged 23 commits into from
May 10, 2024

Conversation

feiazifeiazi
Copy link
Contributor

需求背景:
因合规要求,服务部署在不同的地区,不同的云,且网络不让通公网。
Archery平台必须要部署多套。想添加标识,用于区分。

区分修改的地方:

  1. 登陆页面。
  2. 登陆后首页左上角。
  3. base.html 页面的title地方。

image
image
image
image

Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.96%. Comparing base (4d0b75f) to head (bc23997).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2631   +/-   ##
=======================================
  Coverage   76.96%   76.96%           
=======================================
  Files         117      117           
  Lines       16139    16143    +4     
=======================================
+ Hits        12421    12425    +4     
  Misses       3718     3718           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LeoQuote
Copy link
Collaborator

LeoQuote commented May 9, 2024

好功能! 不过这个用环境变量管理会不会更方便一些, 直接改环境变量就行, 不需要进后台提交

@feiazifeiazi
Copy link
Contributor Author

好功能! 不过这个用环境变量管理会不会更方便一些, 直接改环境变量就行, 不需要进后台提交

感觉后台会不会更好一点呢,数据存在库里面,方便修改。

image

@LeoQuote LeoQuote force-pushed the add_Custom_Environment_Title branch from c402ce1 to c3251b8 Compare May 9, 2024 09:41
@feiazifeiazi feiazifeiazi changed the title 添加自定义环境标题功能 添加自定义环境标题功能-custom_title_suffix May 10, 2024
archery/settings.py Outdated Show resolved Hide resolved
@LeoQuote LeoQuote merged commit b143525 into hhyo:master May 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants