Skip to content

Commit

Permalink
Add/spec link build page (#39)
Browse files Browse the repository at this point in the history
adding a link back to the spec on the build page.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Co-authored-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch and vsoch committed Oct 22, 2021
1 parent e44948a commit 447ef21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spackmon/apps/main/templates/builds/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h4></h4>
<div class="col-md-4">
<h4>Summary</h4>

<b>Spec: </b> {{ build.spec.pretty_print }}
<b>Spec: </b> <a href="{% url 'main:spec_detail' build.spec.id %}">{{ build.spec.pretty_print }}</a>
<br>
<b>Owner: </b> <a href="{% url 'main:builds_by_owner' build.owner.username %}">{{ build.owner.username }}</a>
<br>
Expand Down
4 changes: 2 additions & 2 deletions spackmon/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def generate_creation_date(filename):
and not running_tests
and (not SOCIAL_AUTH_GITHUB_KEY or not SOCIAL_AUTH_GITHUB_SECRET)
):
sys.exit(
"GitHub auth is enabled, but keys SOCIAL_AUTH_GITHUB_KEY and SOCIAL_AUTH_GITHUB_SECRET not found in the environment."
print(
"WARNING: GitHub auth is enabled, but keys SOCIAL_AUTH_GITHUB_KEY and SOCIAL_AUTH_GITHUB_SECRET not found in the environment."
)

# Database
Expand Down

0 comments on commit 447ef21

Please sign in to comment.