loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Update help links on page with no workflows' (#5697) from kwonunn/fix-empty-actions-page into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5697
Reviewed-by: 0ko <0ko@noreply.codeberg.org>

+5 -4
+2 -2
options/locale/locale_en-US.ini
··· 3837 3837 runs.status_no_select = All status 3838 3838 runs.no_results = No results matched. 3839 3839 runs.no_workflows = There are no workflows yet. 3840 - runs.no_workflows.quick_start = Don't know how to start with Forgejo Actions? See <a target="_blank" rel="noopener noreferrer" href="%s">the quick start guide</a>. 3841 - runs.no_workflows.documentation = For more information on Forgejo Actions, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>. 3840 + runs.no_workflows.help_write_access = Don't know how to start with Forgejo Actions? Check out the <a target="_blank" rel="noopener noreferrer" href="%s">quick start in the user documentation</a> to write your first workflow, then <a target="_blank" rel="noopener noreferrer" href="%s">set up a Forgejo runner</a> to execute your jobs. 3841 + runs.no_workflows.help_no_write_access = To learn about Forgejo Actions, see <a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>. 3842 3842 runs.no_runs = The workflow has no runs yet. 3843 3843 runs.empty_commit_message = (empty commit message) 3844 3844 runs.expire_log_message = Logs have been purged because they were too old.
+3 -2
templates/repo/actions/no_workflows.tmpl
··· 2 2 {{svg "octicon-no-entry" 48}} 3 3 <h2>{{ctx.Locale.Tr "actions.runs.no_workflows"}}</h2> 4 4 {{if and .CanWriteCode .CanWriteActions}} 5 - <p>{{ctx.Locale.Tr "actions.runs.no_workflows.quick_start" "https://forgejo.org/docs/latest/admin/actions/"}}</p> 5 + <p>{{ctx.Locale.Tr "actions.runs.no_workflows.help_write_access" "https://forgejo.org/docs/latest/user/actions/#quick-start" "https://forgejo.org/docs/latest/admin/runner-installation/"}}</p> 6 + {{else}} 7 + <p>{{ctx.Locale.Tr "actions.runs.no_workflows.help_no_write_access" "https://forgejo.org/docs/latest/user/actions/"}}</p> 6 8 {{end}} 7 - <p>{{ctx.Locale.Tr "actions.runs.no_workflows.documentation" "https://forgejo.org/docs/latest/admin/actions/"}}</p> 8 9 </div>