mirror of
				https://github.com/osmarks/mycorrhiza.git
				synced 2025-10-31 07:33:00 +00:00 
			
		
		
		
	Fix more typos
This commit is contained in:
		| @@ -61,7 +61,7 @@ header { width: 100%; margin-bottom: 1rem; } | ||||
|  | ||||
| @media screen and (max-width: 800px) { | ||||
| 	.amnt-grid { grid-template-columns: 1fr; } | ||||
| 	.layout { grid-template-column: auto; grid-template-row: auto auto auto; } | ||||
| 	.layout { grid-template-columns: auto; grid-template-rows: auto auto auto; } | ||||
| 	.main-width { width: 100%; } | ||||
| 	main { padding: 1rem; margin: 0; } | ||||
| } | ||||
| @@ -178,7 +178,7 @@ figcaption { padding-bottom: .5rem; } | ||||
| .rc-entry__links, .rc-entry__msg { grid-column: 1 / span 2; } | ||||
| .rc-entry__author { font-style: italic; } | ||||
|  | ||||
| .prevnext__el { display: block-inline; min-width: 40%; padding: .5rem; margin-bottom: .25rem; text-decoration: none; border-radius: .25rem; } | ||||
| .prevnext__el { display: inline-block; min-width: 40%; padding: .5rem; margin-bottom: .25rem; text-decoration: none; border-radius: .25rem; } | ||||
| .prevnext__prev { float: left; } | ||||
| .prevnext__next { float: right; text-align: right; } | ||||
|  | ||||
|   | ||||
| @@ -40,7 +40,7 @@ func indexHelper(path string, nestLevel uint, ch chan *Hypha) { | ||||
| 	} | ||||
|  | ||||
| 	for _, node := range nodes { | ||||
| 		// If this hypha looks like it can be a hypha path, go deeper. Do not touch the .git and static folders for they have an admnistrative importance! | ||||
| 		// If this hypha looks like it can be a hypha path, go deeper. Do not touch the .git and static folders for they have an administrative importance! | ||||
| 		if node.IsDir() && | ||||
| 			util.IsCanonicalName(node.Name()) && | ||||
| 			node.Name() != ".git" && | ||||
|   | ||||
| @@ -12,7 +12,7 @@ import ( | ||||
| type LinkType int | ||||
|  | ||||
| const ( | ||||
| 	LinkInavild LinkType = iota | ||||
| 	LinkInvalid LinkType = iota | ||||
| 	// LinkLocalRoot is a link like "/list", "/user-list", etc. | ||||
| 	LinkLocalRoot | ||||
| 	// LinkLocalHypha is a link like "test", "../test", etc. | ||||
|   | ||||
| @@ -13,7 +13,7 @@ func canFactory( | ||||
| 	dispatcher func(*hyphae.Hypha, *user.User) (string, string), | ||||
| 	noRightsMsg string, | ||||
| 	notExistsMsg string, | ||||
| 	careAboutExistince bool, | ||||
| 	careAboutExistence bool, | ||||
| ) func(*user.User, *hyphae.Hypha) (error, string) { | ||||
| 	return func(u *user.User, h *hyphae.Hypha) (error, string) { | ||||
| 		if !u.CanProceed(action) { | ||||
| @@ -21,7 +21,7 @@ func canFactory( | ||||
| 			return errors.New(noRightsMsg), "Not enough rights" | ||||
| 		} | ||||
|  | ||||
| 		if careAboutExistince && !h.Exists { | ||||
| 		if careAboutExistence && !h.Exists { | ||||
| 			rejectLogger(h, u, "does not exist") | ||||
| 			return errors.New(notExistsMsg), "Does not exist" | ||||
| 		} | ||||
|   | ||||
| @@ -27,7 +27,7 @@ | ||||
| 	<p><img class="icon" width="20" height="20" src="https://upload.wikimedia.org/wikipedia/commons/4/46/Generic_Feed-icon.svg">Subscribe via <a href="/recent-changes-rss">RSS</a>, <a href="/recent-changes-atom">Atom</a> or <a href="/recent-changes-json">JSON feed</a>.</p> | ||||
|  | ||||
| 	{% comment %} | ||||
| 		Here I am, willing to add some accesibility using ARIA. Turns out, | ||||
| 		Here I am, willing to add some accessibility using ARIA. Turns out, | ||||
| 		role="feed" is not supported in any screen reader as of September | ||||
| 		2020. At least web search says so. Even JAWS doesn't support it! | ||||
| 		How come? I'll add the role anyway. -- bouncepaw | ||||
|   | ||||
| @@ -352,7 +352,7 @@ func StreamAboutHTML(qw422016 *qt422016.Writer) { | ||||
| //line views/stuff.qtpl:98 | ||||
| 	qw422016.N().S(`</h1> | ||||
| 		<ul> | ||||
| 			<li><b><a href="https://mycorrhiza.lesarbr.es">MycorrhizaWiki</a> version:</b> β 0.13 indev</li> | ||||
| 			<li><b><a href="https://mycorrhiza.lesarbr.es">MycorrhizaWiki</a> version:</b> β 0.13</li> | ||||
| `) | ||||
| //line views/stuff.qtpl:101 | ||||
| 	if user.AuthUsed { | ||||
| @@ -445,7 +445,7 @@ func StreamAdminPanelHTML(qw422016 *qt422016.Writer) { | ||||
| 	qw422016.N().S(` | ||||
| <div class="layout"> | ||||
| <main class="main-width"> | ||||
| 	<h1>Admininstrative functions</h1> | ||||
| 	<h1>Administrative functions</h1> | ||||
| 	<section> | ||||
| 		<h2>Safe things</h2> | ||||
| 		<ul> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 DanInSpace
					DanInSpace