Skip to content

Conversation

@n00rsy
Copy link

@n00rsy n00rsy commented Nov 25, 2024

*Issue number of the reported bug or feature request: RDISCROWD-7741

Describe your changes
Add 423 locked template for when users are unauthorized to access a project.

image

kbecker42
kbecker42 previously approved these changes Nov 26, 2024
Comment on lines 11 to 17
<h4><strong>Public GIGwork:</strong></h4>
<p>Ask a project admin to ensure that the project has a password set OR that you are assigned to the
project.</p>

<h4><strong>Private GIGwork:</strong></h4>
<p>Ask a project admin to ensure that you are assigned to the project.</p>
<hr>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be consolidated on the UI into single statement upon passing to the type of server from settings.SERVER_TYPE

<h4><strong>{{ server_type }}</strong></h4>
{% if server_type.startswith('Public') %}
      <p>Ask a project admin to ensure that the project has a password set OR that you are assigned to the
                project.</p>
{% else %}
      <p>Ask a project admin to ensure that you are assigned to the project.</p>
{% endif %}

@n00rsy n00rsy merged commit 53f7743 into main Dec 2, 2024
4 checks passed
Copy link

@dchhabda dchhabda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants