Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Anonymous Ticket Portal Anonymous Ticket Portal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • TPA
  • Anonymous Ticket PortalAnonymous Ticket Portal
  • Merge requests
  • !22

Added Pending Issue URL/View/Template and hooked up user-landing page to issue detail views

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged MariaV requested to merge add_issue_links_to_user into master Dec 18, 2020
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 7

Issue Detail View

  • added a "go back" link to return to user-landing

Pending Issue Detail View

  • added a new URL 'pending-issue-detail-view' for issues pending in database
  • added new view PendingIssueDetailView, classed from DetailView, model = Issue
  • added new template for pending issues, modelled on the anonticket/issue_detail.html template
  • added a 'go-back' url to return to user-landing
  • added new test for URL resolution for 'pending-issue-detail-view'

User Landing Changes

  • added logic - if issue does not have an issue_iid (e.g., is not approved and posted to GL), generate link to 'pending-issue-detail-view) (instead of 'issue-detail-view'), passing user_identifier, project_id, and issue pk as args.

All new links, views, templates, tested manually, and all tests (17 total) passing at this time.

Edited Dec 18, 2020 by MariaV
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add_issue_links_to_user