Skip to content

Ticket page template modifcation (adding "View Resource" button) is outdated #24

@tom-coward

Description

@tom-coward

The find needs to change the == in the if statement to === (must've been updated in the Tickets addon), so it's:

                        <xf:if is="$ticket.canUndelete() AND $ticket.discussion_state === 'deleted'">
				<xf:button href="{{ link('tickets/undelete', $ticket) }}" class="button--link" overlay="true">
					{{ phrase('undelete') }}
				</xf:button>
			</xf:if>

(with the indentation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions