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

Appearance settings

Commit 4b921f3

Browse filesBrowse files
remove links from open source footer (#702)
1 parent 25162cc commit 4b921f3
Copy full SHA for 4b921f3

File tree

2 files changed

+2
-7
lines changed
Filter options

2 files changed

+2
-7
lines changed

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

Copy file name to clipboardExpand all lines: pgml-dashboard/src/utils/config.rs
-7Lines 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
pub fn search_index_dir() -> String {
4336
match var("SEARCH_INDEX_DIRECTORY") {
4437
Ok(path) => path,

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

Copy file name to clipboardExpand all lines: pgml-dashboard/templates/layout/footer.html
+2Lines 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
<a class="nav-link text-white" href="https://discord.gg/DmyJP3qJ7U">Discord</a>
1616
</nav>
1717
</div>
18+
<% if !crate::utils::config::standalone_dashboard() {; %>
1819
<div class="col-12 col-lg-6 col-xl-4">
1920
<nav class="nav d-flex flex-column">
2021
<a class="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
<a class="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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.