You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever a moderator asks a user in a ticket to make changes to the title/tags/description, a substantial number of uploaders doesn't know how to. The path to get there is somewhat cumbersome:
Click the normal sized black sound title
Click Edit sound description
When it could be reduced to one step.
This is what a ticket looks like for a moderator:
This is what a ticket looks like for an affected uploader:
This is my suggested change for an affected uploader:
(the edit sound description button was added. It is identical to the one on a sound page:
This would also eliminate the need for an externally image showing how to edit sound details via an ad-loaded 3rd party site or having to manage an additional annotated screenshot hosted on freesound. ( #1765 )
This button should be displayed instead of <div class="v-spacing-top-2 text-grey"> You do not have permissions to perform any actions. </div> if the following are true:
The page is viewed by the user who created the sound ({% if ticket.sender.id == user.id %} might do the trick)
The sound is not deleted ({% if sound is not None %} might do the trick)
Perhaps other factors that might prohibit editing need to be excluded. If so, hopefully {% if sound.processing_state == 'OK' %} would work, which comes from
Whenever a moderator asks a user in a ticket to make changes to the title/tags/description, a substantial number of uploaders doesn't know how to. The path to get there is somewhat cumbersome:
When it could be reduced to one step.
This is what a ticket looks like for a moderator:
This is what a ticket looks like for an affected uploader:
This is my suggested change for an affected uploader:
(the edit sound description button was added. It is identical to the one on a sound page:
This would also eliminate the need for an externally image showing how to edit sound details via an ad-loaded 3rd party site or having to manage an additional annotated screenshot hosted on freesound. ( #1765 )
Here is the code on a sound page (
freesound/templates/sounds/sound.html
Line 282 in e48068c
This button should be displayed instead of
<div class="v-spacing-top-2 text-grey"> You do not have permissions to perform any actions. </div>
if the following are true:{% if ticket.sender.id == user.id %}
might do the trick){% if sound is not None %}
might do the trick){% if sound.processing_state == 'OK' %}
would work, which comes fromfreesound/templates/sounds/sound.html
Line 281 in e48068c
I found these variables on the ticket and sound pages. I don't know if all of them area available on the ticket page.
The affected file is https://github.com/MTG/freesound/blob/master/templates/moderation/ticket.html
I suppose an
else if
that chains the above conditions together should be inserted beforefreesound/templates/moderation/ticket.html
Lines 108 to 112 in e48068c
The text was updated successfully, but these errors were encountered: