Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4b921f3

Browse files
remove links from open source footer (#702)
1 parent25162cc commit4b921f3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

‎pgml-dashboard/src/utils/config.rs‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ pub fn static_dir() -> String {
3232
}
3333
}
3434

35-
// pub fn content_dir() -> String {
36-
// match var("CONTENT_DIRECTORY") {
37-
// Ok(dir) => dir,
38-
// Err(_) => "content".to_string(),
39-
// }
40-
// }
41-
4235
pubfnsearch_index_dir() ->String{
4336
matchvar("SEARCH_INDEX_DIRECTORY"){
4437
Ok(path) => path,

‎pgml-dashboard/templates/layout/footer.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
1515
<aclass="nav-link text-white"href="https://discord.gg/DmyJP3qJ7U">Discord</a>
1616
</nav>
1717
</div>
18+
<% if !crate::utils::config::standalone_dashboard() {; %>
1819
<divclass="col-12 col-lg-6 col-xl-4">
1920
<navclass="nav d-flex flex-column">
2021
<aclass="nav-link text-white"href="<%= crate::utils::config::signup_url() %>">Create an Account</a>
@@ -23,6 +24,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
2324
<aclass="nav-link text-white"href="/privacy"data-turbo="false">Privacy Policy</a>
2425
</nav>
2526
</div>
27+
<% } %>
2628
</div>
2729
</div>
2830

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp