forgejo/templates
tomholford e3afe4a248
teams: new View button (#27685)
Per the discussion on #22054, the flow for adding a new team member to
an org is not intuitive for new Gitea users.

The ideal solution would be to add a new button on the Org > Members
index view (see the screenshot mockup in the issue description).
However, this would require a refactor of the UX for the flow. The
current flow has an implicit context of which team within the org the
new member is being added to ('Owners' by default). From the Members
index, there is no implicit context; the flow would have to add a picker
for which team the new member should be added to.

So, as a stopgap, this change simply adds a button to the Teams index
page that performs the same action as clicking on the title of the team
(a behavior that is currently too obscure as indicated in the comments
on the issue). This should reduce support burden and serve as a decent
temporary measure until the Add Member flow is refactored.

---------

Co-authored-by: tomholford <tomholford@users.noreply.github.com>
2023-10-22 12:34:16 +00:00
..
admin cleanup repo details icons/labels (#27644) 2023-10-16 23:06:15 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
code Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
custom
devtest Improve dropdown button alignment and fix hover bug (#27632) 2023-10-16 07:26:08 +00:00
explore cleanup repo details icons/labels (#27644) 2023-10-16 23:06:15 +02:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org teams: new View button (#27685) 2023-10-22 12:34:16 +00:00
package Cargo package - Fix missing domain in cargo sparse url (#27370) 2023-10-01 13:43:15 +00:00
projects More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
repo Show total TrackedTime on issue/pull/milestone lists (#26672) 2023-10-19 14:08:31 +00:00
shared Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
status Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
swagger api: GetPullRequestCommits: return file list (#27483) 2023-10-09 11:22:12 +00:00
user Don't show Link to TOTP if not set up (#27585) 2023-10-11 20:12:54 +00:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
install.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00