Skip to content

Commit d8d9211

Browse files
authored
Update Support Messaging (#12495)
* Update Support Messaging * Revert CSS change * Update wording * Silly type :face_palm:
1 parent 77a1610 commit d8d9211

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

docker/entrypoint-initializer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo "Creating Announcement Banner"
2626
cat <<EOD | python3 manage.py shell
2727
from dojo.models import Announcement, UserAnnouncement, Dojo_User
2828
announcement, created = Announcement.objects.get_or_create(id=1)
29-
announcement.message = '<a href="https://defectdojo.com/contact" target="_blank">Cloud and On-Premise Subscriptions Now Available! Click here for more details</a>'
29+
announcement.message = '<a href="https://cloud.defectdojo.com/accounts/onboarding/plg_step_1" target="_blank">DefectDojo Pro Cloud and On-Premise Subscriptions Now Available! Create an account to try Pro for free!</a>'
3030
announcement.dismissable = True
3131
announcement.save()
3232
for dojo_user in Dojo_User.objects.all():

dojo/announcement/signals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def add_announcement_to_new_user(sender, instance, **kwargs):
1212
dojo_user = Dojo_User.objects.get(id=instance.id)
1313
announcement = announcements.first()
1414
cloud_announcement = (
15-
"Cloud and On-Premise Subscriptions Now Available!"
15+
"DefectDojo Pro Cloud and On-Premise Subscriptions Now Available!"
1616
in announcement.message
1717
)
1818
if not cloud_announcement or settings.CREATE_CLOUD_BANNER:

dojo/context_processors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def globalize_vars(request):
2929
"DOCUMENTATION_URL": settings.DOCUMENTATION_URL,
3030
"API_TOKENS_ENABLED": settings.API_TOKENS_ENABLED,
3131
"API_TOKEN_AUTH_ENDPOINT_ENABLED": settings.API_TOKEN_AUTH_ENDPOINT_ENABLED,
32+
"CREATE_CLOUD_BANNER": settings.CREATE_CLOUD_BANNER,
3233
}
3334

3435

dojo/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def evaluate_pro_proposition(*args, **kwargs):
204204
entry in announcement.message
205205
for entry in [
206206
"",
207-
"Cloud and On-Premise Subscriptions Now Available!",
207+
"DefectDojo Pro Cloud and On-Premise Subscriptions Now Available!",
208208
"Findings/Endpoints in their systems",
209209
]
210210
):

dojo/templates/base.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,14 @@
194194
</a>
195195
</li>
196196
{% endif %}
197+
{% if CREATE_CLOUD_BANNER %}
198+
<li>
199+
<a href="https://cloud.defectdojo.com/accounts/onboarding/plg_step_1">
200+
<i class="fa-solid fa-level-up fa-fw"></i>
201+
{% trans "Try Pro for Free!" %}
202+
</a>
203+
</li>
204+
{% endif %}
197205
<li>
198206
<a href="{% url 'logout' %}">
199207
<i class="fa-solid fa-right-from-bracket fa-fw"></i>

dojo/templates/dojo/support.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h2 style="text-align: center;">Go Pro!</h2>
7575
<p><i class="fa-solid fa-lg fa-circle-check"></i> Support directly from the DefectDojo Team</p>
7676
<p><i class="fa-solid fa-lg fa-circle-check"></i> Assistance with best practice and implementation</p>
7777
</div>
78-
<a href="https://www.defectdojo.com/contact" target="_blank" class="btn btn-primary support commercial light">Go Pro Now</a>
78+
<a href="https://cloud.defectdojo.com/accounts/onboarding/plg_step_1" target="_blank" class="btn btn-primary support commercial light">Try Pro for Free!</a>
7979
</div>
8080
</div>
8181
</div>

0 commit comments

Comments
 (0)