Skip to content

Commit

Permalink
rm console log and profile info
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Feb 7, 2021
1 parent b3a3fdf commit 9895256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion mpcontribs-portal/mpcontribs/portal/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ window.api = {
host: scheme + "://" + api_cname + "/",
headers: {'X-API-KEY': api_key}
};
console.log(window.api);

$(document).ready(function () {
// logo, info, api-key
Expand Down
14 changes: 1 addition & 13 deletions mpcontribs-portal/mpcontribs/portal/templates/header_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,10 @@
<span>More</span>
</a>
<div class="navbar-dropdown is-right has-background-light">
<a class="navbar-item" href="{{ OAUTH_URL }}" target="_blank">
<a class="navbar-item" href="{{ OAUTH_URL }}">
<span class="icon"><i class="far fa-user"></i></span>
<span>{{ request.META.HTTP_X_CONSUMER_USERNAME }}</span>
</a>
{% if request.META.HTTP_X_CONSUMER_CUSTOM_ID %}
<p class="navbar-item">
<span class="icon"><i class="fas fa-key"></i></span>
<code>{{ request.META.HTTP_X_CONSUMER_CUSTOM_ID }}</code>
</p>
{% endif %}
{% if request.META.HTTP_X_AUTHENTICATED_GROUPS %}
<p class="navbar-item">
<span class="icon"><i class="fas fa-users"></i></span>
<span class="is-family-code">{{ request.META.HTTP_X_AUTHENTICATED_GROUPS }}</span>
</p>
{% endif %}
<a class="navbar-item" id=help>
<span class="icon"><i class="fas fa-question"></i></span>
<span>Tour this page</span>
Expand Down

0 comments on commit 9895256

Please sign in to comment.