M api/graph/schema.resolvers.go => api/graph/schema.resolvers.go +1 -2
@@ 38,7 38,7 @@ import (
"golang.org/x/image/draw"
"golang.org/x/net/idna"
"netlandish.com/x/gobwebs"
- "netlandish.com/x/gobwebs-oauth2"
+ oauth2 "netlandish.com/x/gobwebs-oauth2"
gaccounts "netlandish.com/x/gobwebs/accounts"
"netlandish.com/x/gobwebs/database"
"netlandish.com/x/gobwebs/email"
@@ 4741,7 4741,6 @@ func (r *queryResolver) GetOrgLinks(ctx context.Context, input *model.GetLinkInp
}
}
}
- // unttaged
}
if input.Tag != nil && *input.Tag != "" {
M core/routes.go => core/routes.go +3 -2
@@ 1314,8 1314,8 @@ func (s *Service) OrgLinksList(c echo.Context) error {
pd.Data["untagged"] = lt.Translate("Untagged")
pd.Data["mark_as_read"] = lt.Translate("Mark as read")
pd.Data["mark_as_unread"] = lt.Translate("Mark as unread")
- pd.Data["mark_as_starred"] = lt.Translate("Starred")
- pd.Data["mark_as_non_starred"] = lt.Translate("Unstarred")
+ pd.Data["mark_as_starred"] = lt.Translate("Star")
+ pd.Data["mark_as_non_starred"] = lt.Translate("Unstar")
pd.Data["no_links"] = lt.Translate("No Links")
orgLinks := result.OrgLinks.Result
gmap := gobwebs.Map{
@@ 2480,6 2480,7 @@ func (s *Service) NoteCreate(c echo.Context) error {
pd.Data["tags"] = lt.Translate("Tags")
pd.Data["cancel"] = lt.Translate("Cancel")
pd.Data["back"] = lt.Translate("Back")
+ pd.Data["organization"] = lt.Translate("Organization")
visibilityOpt := map[int]string{
models.OrgLinkVisibilityPublic: lt.Translate("Public"),
M templates/link_create.html => templates/link_create.html +13 -15
@@ 44,22 44,20 @@
<p class="error">{{ . }}</p>
{{ end }}
</div>
- <div class="row ml-1">
- <div>
- <label for="unread">{{.pd.Data.unread}}</label>
- <input type="checkbox" value="true" name="unread" id="unread"{{if .form.Unread}} checked{{end}}>
- </div>
- <div>
- <label for="starred">{{.pd.Data.starred}}</label>
- <input type="checkbox" value="true" name="starred" id="starred"{{if .form.Starred}} checked{{end}}>
- </div>
- {{if eq .orgLinkID nil }}
- <div>
- <label for="archive">{{.pd.Data.archive}}</label>
- <input type="checkbox" value="true" name="archive" id="archive"{{if .form.Archive}} checked{{end}}>
- </div>
- {{end}}
+ <div>
+ <label for="unread">{{.pd.Data.unread}}</label>
+ <input type="checkbox" value="true" name="unread" id="unread"{{if .form.Unread}} checked{{end}}>
+ </div>
+ <div>
+ <label for="starred">{{.pd.Data.starred}}</label>
+ <input type="checkbox" value="true" name="starred" id="starred"{{if .form.Starred}} checked{{end}}>
</div>
+ {{if eq .orgLinkID nil }}
+ <div>
+ <label for="archive">{{.pd.Data.archive}}</label>
+ <input type="checkbox" value="true" name="archive" id="archive"{{if .form.Archive}} checked{{end}}>
+ </div>
+ {{end}}
<div>
{{ if .selectedOrg }}
<input type="hidden" name="org_slug" value="{{.selectedOrg.Slug}}"/>