Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TP2000-1255 Correct homepage card permission #1182

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions common/jinja2/common/homepage.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@
</div>
</div>
</article>
{% endif %}

{% if can_add_workbasket %}
dalecannon marked this conversation as resolved.
Show resolved Hide resolved
<article class="homepage-card">
<h3 class="govuk-heading-m">Currently working on</h3>
{% if not assigned_workbaskets %}
Expand Down
2 changes: 1 addition & 1 deletion common/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def test_maintenance_mode_page_content(valid_user_client):
("card", "permission"),
[
("What would you like to do?", "view_workbasket"),
("Currently working on", "view_workbasket"),
("Currently working on", "add_workbasket"),
("EU TARIC files", "add_trackedmodel"),
("Envelopes", "consume_from_packaging_queue"),
("Resources", ""),
Expand Down
Loading