Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
tdkscms
gitlab-foss
Commits
0e345808
Commit
0e345808
authored
Aug 20, 2024
by
徐豪
Browse files
首页名称及页脚+wiki根据项目名跳转
parent
3f3582e1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
app/helpers/appearances_helper.rb
app/helpers/appearances_helper.rb
+1
-1
app/views/devise/shared/_footer.html.haml
app/views/devise/shared/_footer.html.haml
+1
-1
app/views/shared/empty_states/_wikis.html.haml
app/views/shared/empty_states/_wikis.html.haml
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/helpers/appearances_helper.rb
View file @
0e345808
...
@@ -59,7 +59,7 @@ def appearance_pwa_description
...
@@ -59,7 +59,7 @@ def appearance_pwa_description
def
default_brand_title
def
default_brand_title
# This resides in a separate method so that EE can easily redefine it.
# This resides in a separate method so that EE can easily redefine it.
_
(
'
GitLab Community Edition
'
)
_
(
'
TDKdalian Source Code Management System
'
)
end
end
def
brand_image
def
brand_image
...
...
app/views/devise/shared/_footer.html.haml
View file @
0e345808
.footer-container.gl-w-full.gl-align-self-end
.footer-container.gl-w-full.gl-align-self-end
%hr
.gl-m-0
%hr
.gl-m-0
.container.gl-py-5.gl-display-flex.gl-justify-content-space-between.gl-align-items-flex-start
.container.gl-py-5.gl-display-flex.gl-justify-content-space-between.gl-align-items-flex-start
.gl-hidden.md:gl-flex.gl-gap-5.gl-flex-wrap
-#
.gl-hidden.md:gl-flex.gl-gap-5.gl-flex-wrap
- unless public_visibility_restricted?
- unless public_visibility_restricted?
= link_to _("Explore"), explore_root_path
= link_to _("Explore"), explore_root_path
= link_to _("Help"), help_path
= link_to _("Help"), help_path
...
...
app/views/shared/empty_states/_wikis.html.haml
View file @
0e345808
%div
.text-center
{
style:
'display: flex; justify-content: center; align-items: center; height: 70vh;'
}
%div
.text-center
{
style:
'display: flex; justify-content: center; align-items: center; height: 70vh;'
}
=
link_button_to
"Go to Custom Wiki"
,
"http://10.21.0.42:17000"
,
variant: :primary
,
style:
'background-color: #1F75CB; color: white; height: 50px; width: 180px;'
,
target:
"_blank"
=
link_button_to
"Go to Custom Wiki"
,
"http://10.21.0.42:17000/read/
#{
@project
.
name
}
"
,
variant: :primary
,
style:
'background-color: #1F75CB; color: white; height: 50px; width: 180px;'
,
target:
"_blank"
\ No newline at end of file
\ No newline at end of file
locale/gitlab.pot
View file @
0e345808
...
@@ -23706,6 +23706,9 @@ msgstr ""
...
@@ -23706,6 +23706,9 @@ msgstr ""
msgid "GitLab Billing Team."
msgid "GitLab Billing Team."
msgstr ""
msgstr ""
msgid "TDKdalian Source Code Management System"
msgstr ""
msgid "GitLab Community Edition"
msgid "GitLab Community Edition"
msgstr "TDK Source Code Management System"
msgstr "TDK Source Code Management System"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment