Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
srctweb
srctweb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • SRCT
  • srctwebsrctweb
  • Issues
  • #66

Closed
Open
Opened Oct 30, 2018 by Daniel W Bond@dbond2Maintainer
  • Report abuse
  • New issue
Report abuse New issue

Open project links in new tabs

Summary

I was showing someone else the SRCT projects page, and they kept on hitting the back button for every project page that they were looking at. If you add target="_blank" to the project link's a tags, then the link will open in a new tab.

An example--

Before:

<a href="https://go.gmu.edu">go.gmu.edu</a>

After:

<a href="https://go.gmu.edu" target="_blank">go.gmu.edu</a>

The location of the file is srctweb/srctweb/_pages/people.html

A good rule of thumb for expected user interaction is that links within a domain change the page, while outside links open new tabs; though as with anything, this requires some thought on the designer's part. There are a lot of such links throughout the project, and thoughtful consideration should be afforded to whether or not those links should also new tabs, especially a number of the ones on the front page. While this functionality can be achieved with a right click on a link, and then subsequently choosing one of the menu's options, this interaction is far less known outside the software development world than may be realized, even if it is second nature to most of us.

tl;dr In the meantime, the links to the projects themselves should be changed.

Helpful Links

Check out the Mozilla documentation under "target"

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a

Assignee
Assign to
1.1 - "We should add Masonstrap"
Milestone
1.1 - "We should add Masonstrap"
Assign milestone
Time tracking
None
Due date
None
Reference: srct/srctweb#66