Skip to content

Commit

Permalink
Rectify dynamic variables in template
Browse files Browse the repository at this point in the history
  • Loading branch information
Kej-r03 committed Feb 20, 2023
1 parent 71bced3 commit e250a2e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
3 changes: 1 addition & 2 deletions website/templates/account/login.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load custom_tags %}
{% load i18n %}
{% load account socialaccount %}

Expand All @@ -18,7 +17,7 @@
<a href="{% url 'index' %}" class="hover:no-underline text-white hover:text-white">BUGHEIST</a>
</div>
<p class="mt-6 font-normal text-center text-white text-xl md:mt-0">
OWASP {% env 'PROJECT_NAME' %} is a bug logging tool to report issues and get points, companies are held accountable.
OWASP BLT is a bug logging tool to report issues and get points, companies are held accountable.
</p>
<p class="flex flex-col items-center justify-center text-sm mt-10 text-center">
<span>Don't have an account?</span>
Expand Down
3 changes: 1 addition & 2 deletions website/templates/account/signup.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load custom_tags %}
{% load i18n %}

{% block content %}
Expand All @@ -14,7 +13,7 @@
<a href="{% url 'index' %}" class="hover:no-underline text-white hover:text-white">BUGHEIST</a>
</div>
<p class="mt-6 font-normal text-center text-white text-xl md:mt-0">
OWASP {% env 'PROJECT_NAME' %} is a bug logging tool to report issues and get points, companies are held accountable.
OWASP BLT is a bug logging tool to report issues and get points, companies are held accountable.
</p>
<p class="flex flex-col items-center justify-center text-sm mt-10 text-center">
<span>Already have an account?</span>
Expand Down
1 change: 0 additions & 1 deletion website/templates/domain.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% load custom_tags %}
{% load static %}
{% load gravatar %}
{% load email_obfuscator %}
Expand Down
9 changes: 4 additions & 5 deletions website/templates/includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% load static %}
{% load i18n %}
{% load custom_tags %}

<footer class="bg-black text-white pt-12 pb-8 px-12 bottom-0 relative">
<div class="mx-auto px-4 !container overflow-hidden flex flex-col lg:flex-row justify-between">
Expand All @@ -10,7 +9,7 @@
<div class="w-2/3 block sm:flex text-2xl mt-6 lg:mt-0">
<ul class="text-gray-700 list-none p-0 font-thin flex flex-col text-left w-full">
<li class="inline-block py-2 px-3 text-white uppercase font-medium tracking-wide">Company</li>
<li><a href="https://github.com/OWASP/{% env 'PROJECT_NAME' %}/releases" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Features</a></li>
<li><a href="https://github.com/OWASP/BLT/releases" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Features</a></li>
<li><a href="/stats" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Stats</a></li>
<li><a href="/scoreboard" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Company Scoreboard</a></li>
</ul>
Expand All @@ -22,9 +21,9 @@
</ul>
<ul class="text-gray-700 list-none p-0 font-thin flex flex-col text-left w-full">
<li class="inline-block py-2 px-3 text-white uppercase font-medium tracking-wide">Get Started</li>
<li><a href="https://{% env 'FQDN' %}/swagger/" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Developer API</a></li>
<li><a href="https://github.com/OWASP/{% env 'PROJECT_NAME' %}/blob/main/Setup.md" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Documentation</a></li>
<li><a href="https://github.com/OWASP/{% env 'PROJECT_NAME' %}#readme" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Guides</a></li>
<li><a href="https://www.bugheist.com/swagger/" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Developer API</a></li>
<li><a href="https://github.com/OWASP/BLT/blob/main/Setup.md" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Documentation</a></li>
<li><a href="https://github.com/OWASP/BLT#readme" class="inline-block py-2 px-3 text-gray-500 hover:text-white no-underline">Guides</a></li>
</li>
</ul>
<div class="text-gray-700 flex flex-col w-full">
Expand Down

0 comments on commit e250a2e

Please sign in to comment.