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

[ticket/11910] Hide delete reason elements when "Delete permanently" is checked #1775

Closed
wants to merge 1 commit into from

Conversation

prototech
Copy link
Contributor

@imkingdavid
Copy link
Contributor

I would rather add a moderator log entry, both for soft delete and hard delete, and utilize the Reason field for both.

<dt><label for="delete_reason">{L_DELETE_REASON}{L_COLON}</label><br /><span>{L_DELETE_REASON_EXPLAIN}</span></dt>
<dd><input type="text" name="delete_reason" id="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" /></dd>
<dd><input type="text" name="delete_reason" value="" class="inputbox autowidth" maxlength="120" size="45" /></dd>
Copy link

Choose a reason for hiding this comment

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

we need the id="delete_reason" here, its coming from the label

@nickvergessen
Copy link
Contributor

I would rather add a moderator log entry, both for soft delete and hard delete, and utilize the Reason field for both.

I agree with david here, the aim was to NOT tell the user what happened to his post, apart from when he has both permissions. By removing the field the user has this information.

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