Explorar el Código

Merge branch '51-fix-docs-url' into 'master'

Fix Docs URL

Closes #51

See merge request gitote/gitote!5
Yoginth hace 6 años
padre
commit
2f674fe50b
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      routes/install.go
  2. 1 1
      templates/repo/settings/webhook/gitote.tmpl

+ 1 - 1
routes/install.go

@@ -230,7 +230,7 @@ func InstallPost(c *context.Context, f form.Install) {
 	if err := models.NewTestEngine(x); err != nil {
 		if strings.Contains(err.Error(), `Unknown database type: sqlite3`) {
 			c.FormErr("DbType")
-			c.RenderWithErr(c.Tr("install.sqlite3_not_available", "https://docs.gitote.in/docs/installation/install_from_binary.html"), InstallTPL, &f)
+			c.RenderWithErr(c.Tr("install.sqlite3_not_available", "https://gitlab.com/gitote/docs/tree/master/installation/install_from_binary.md"), InstallTPL, &f)
 		} else {
 			c.FormErr("DbSetting")
 			c.RenderWithErr(c.Tr("install.invalid_db_setting", err), InstallTPL, &f)

+ 1 - 1
templates/repo/settings/webhook/gitote.tmpl

@@ -1,5 +1,5 @@
 {{if eq .HookType "gitote"}}
-	<p>{{.i18n.Tr "repo.settings.add_webhook_desc" "https://docs.gitote.in/features/webhook.html" | Str2HTML}}</p>
+	<p>{{.i18n.Tr "repo.settings.add_webhook_desc" "https://gitlab.com/gitote/docs/tree/master/features/webhook.md" | Str2HTML}}</p>
 	<form class="ui form" action="{{.BaseLink}}/settings/hooks/gitote/{{if .PageIsSettingsHooksNew}}new{{else}}{{.Webhook.ID}}{{end}}" method="post">
 		{{.CSRFTokenHTML}}
 		<div class="required field {{if .Err_PayloadURL}}error{{end}}">