~netlandish/links

90b9c88121dc10119b588d5c521dc4002a3ea5b2 — Peter Sanchez a month ago 26c6441
Fixing all page titles
60 files changed, 95 insertions(+), 88 deletions(-)

M accounts/routes.go
M admin/routes.go
M billing/routes.go
M core/routes.go
M list/routes.go
M mattermost/routes.go
M short/routes.go
M slack/routes.go
M templates/admin_billing_list.html
M templates/admin_dashboard.html
M templates/admin_domain_create.html
M templates/admin_domain_detail.html
M templates/admin_invite_user.html
M templates/admin_org_detail.html
M templates/admin_organization_list.html
M templates/admin_user_detail.html
M templates/admin_user_edit.html
M templates/admin_user_list.html
M templates/admin_user_lock.html
M templates/analytics_detail.html
M templates/billing_cancel_subscription.html
M templates/billing_checkout.html
M templates/billing_create_subscription.html
M templates/billing_history.html
M templates/billing_manage_subscription.html
M templates/complete_register.html
M templates/connect_mattermost.html
M templates/connect_mm_user.html
M templates/connect_slack.html
M templates/connect_user.html
M templates/disconnect_mattermost.html
M templates/disconnect_slack.html
M templates/domain_create.html
M templates/domain_list.html
M templates/element_delete.html
M templates/export_data.html
M templates/feature_tour.html
M templates/feed.html
M templates/feed_following.html
M templates/graphql.html
M templates/inactive_domain.html
M templates/index.html
M templates/link_create.html
M templates/link_detail.html
M templates/link_short_create.html
M templates/link_short_list.html
M templates/listing_create.html
M templates/listing_detail.html
M templates/listing_link_create.html
M templates/listing_link_list.html
M templates/listing_list.html
M templates/note_create.html
M templates/org_list.html
M templates/profile_edit.html
M templates/qrcode_detail.html
M templates/qrcodes_list.html
M templates/register.html
M templates/restricted.html
M templates/restriction_redirect.html
M templates/settings.html
M accounts/routes.go => accounts/routes.go +1 -1
@@ 255,7 255,7 @@ func (s *Service) CompleteRegister(c echo.Context) error {
	}
	gctx := c.(*server.Context)
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Complete Register"))
	pd := localizer.NewPageData(lt.Translate("Complete Registration"))
	pd.Data["save"] = lt.Translate("Save")
	pd.Data["full_name"] = lt.Translate("Full Name")
	pd.Data["username"] = lt.Translate("Username")

M admin/routes.go => admin/routes.go +5 -5
@@ 208,7 208,7 @@ func (s *Service) OrgDetail(c echo.Context) error {
		return echo.NotFoundHandler(c)
	}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("User Detail"))
	pd := localizer.NewPageData(lt.Translate("Organization Detail"))
	pd.Data["email"] = lt.Translate("Email")
	pd.Data["created_on"] = lt.Translate("Created On")
	pd.Data["is_active"] = lt.Translate("Is Active")


@@ 384,7 384,7 @@ func (s *Service) DomainDetail(c echo.Context) error {
		return echo.NotFoundHandler(c)
	}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("User Detail"))
	pd := localizer.NewPageData(lt.Translate("Domain Detail"))
	pd.Data["created_on"] = lt.Translate("Created On")
	pd.Data["is_active"] = lt.Translate("Is Active")
	pd.Data["name"] = lt.Translate("Name")


@@ 712,7 712,7 @@ func (s *Service) DomainCreate(c echo.Context) error {

func (s *Service) BillingList(c echo.Context) error {
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Admin Dashboard"))
	pd := localizer.NewPageData(lt.Translate("Admin Billing"))
	pd.Data["billing_stats"] = lt.Translate("Billing Stats")
	pd.Data["active_subscriptions"] = lt.Translate("Active Subscriptions")
	pd.Data["pending_cancel_subscriptions"] = lt.Translate("Subscriptions to be canceled")


@@ 1390,7 1390,7 @@ func (s *Service) UserUpdate(c echo.Context) error {

func (s *Service) UserInvitation(c echo.Context) error {
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Register Invitation"))
	pd := localizer.NewPageData(lt.Translate("Account Invitation"))
	pd.Data["cancel"] = lt.Translate("Cancel")
	pd.Data["send_invitation"] = lt.Translate("Send Invitation")
	pd.Data["email"] = lt.Translate("Email")


@@ 1439,7 1439,7 @@ func (s *Service) UserInvitation(c echo.Context) error {
func (s *Service) UserList(c echo.Context) error {
	query := c.QueryParam("q")
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Admin Dashboard"))
	pd := localizer.NewPageData(lt.Translate("User List"))
	pd.Data["user_list"] = lt.Translate("User List")
	pd.Data["is_active"] = lt.Translate("Is Active")
	pd.Data["name"] = lt.Translate("Name")

M billing/routes.go => billing/routes.go +3 -3
@@ 152,7 152,7 @@ func (s *Service) StripeWebhook(c echo.Context) error {
func (s *Service) CheckoutSuccess(c echo.Context) error {
	gctx := c.(*server.Context)
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Checkout Succeed"))
	pd := localizer.NewPageData(lt.Translate("Checkout Succeeded"))
	pd.Data["message"] = lt.Translate("Thanks for subscribing!")
	pd.Data["your_subscription"] = lt.Translate("Your subscription invoice number is")
	pd.Data["you_can_click"] = lt.Translate("You can click on this link to see the invoice detail.")


@@ 222,7 222,7 @@ func (s *Service) SubscriptionHistory(c echo.Context) error {
	}
	org := orgs[0]
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("History"))
	pd := localizer.NewPageData(lt.Translate("Billing History"))
	pd.Data["type"] = lt.Translate("Type")
	pd.Data["end_date"] = lt.Translate("Renewal Data")
	pd.Data["payment_history"] = lt.Translate("Payment History")


@@ 447,7 447,7 @@ func (s *Service) CreateSubscription(c echo.Context) error {
			BusinessPlanID = p.ID
		}
	}
	pd := localizer.NewPageData(lt.Translate("New Subscription"))
	pd := localizer.NewPageData(lt.Translate("Create Subscription"))
	pd.Data["select"] = lt.Translate("Select")
	pd.Data["business"] = lt.Translate("Business")
	pd.Data["personal"] = lt.Translate("Personal")

M core/routes.go => core/routes.go +10 -6
@@ 238,7 238,7 @@ func (s *Service) InvalidDomain(c echo.Context) error {
	}

	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Invalid Domain"))
	pd := localizer.NewPageData(lt.Translate("Inactive Domain"))
	pd.Data["msg"] = lt.Translate("The %s domain is currently inactive", d)
	pd.Data["please_upgrade"] = lt.Translate("Please upgrade your account to reactivate it")



@@ 614,7 614,7 @@ func (s *Service) OrgList(c echo.Context) error {
	}

	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Organizations"))
	pd := localizer.NewPageData(lt.Translate("Your Organizations"))
	pd.Data["name"] = lt.Translate("Name")
	pd.Data["slug"] = lt.Translate("Slug")
	pd.Data["subscription"] = lt.Translate("Subscription")


@@ 1428,7 1428,7 @@ func (s *Service) UserFeedFollowing(c echo.Context) error {
		return err
	}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Feed Following"))
	pd := localizer.NewPageData(lt.Translate("Following"))
	pd.Data["back"] = lt.Translate("Back")
	pd.Data["unfollow"] = lt.Translate("Unfollow")
	pd.Data["no_orgs"] = lt.Translate("No organizations")


@@ 2038,7 2038,7 @@ func (s *Service) OrgLinkDelete(c echo.Context) error {
	}
	gctx := c.(*server.Context)
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Delete"))
	pd := localizer.NewPageData(lt.Translate("Delete Bookmark"))

	req := c.Request()
	if req.Method == http.MethodPost {


@@ 2324,7 2324,11 @@ func (s *Service) QRRedirect(c echo.Context) error {
	org := orgs[0]
	if links.BillingEnabled(gctx.Server.Config) && org.IsRestricted([]int{
		models.BillingStatusFree, models.BillingStatusOpenSource}) {
		lt := localizer.GetSessionLocalizer(c)
		pd := localizer.NewPageData(lt.Translate("QR Codes Powered by Link Taco!"))
		pd.Data["redirected"] = lt.Translate("You will be redirected in 10 seconds.")
		gmap := gobwebs.Map{
			"pd":      pd,
			"url":     QRCode.URL,
			"hideNav": true,
		}


@@ 2397,7 2401,7 @@ func (s *Service) QRManageDetail(c echo.Context) error {
		return err
	}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("QR Code"))
	pd := localizer.NewPageData(lt.Translate("QR Code Details"))
	pd.Data["download"] = lt.Translate("Download Image")
	pd.Data["back"] = lt.Translate("Back")
	qrCode := result.QRCode


@@ 2434,7 2438,7 @@ func (s *Service) QRManageDelete(c echo.Context) error {
	}
	gctx := c.(*server.Context)
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Delete QR"))
	pd := localizer.NewPageData(lt.Translate("Delete QR Code"))

	req := c.Request()
	if req.Method == http.MethodPost {

M list/routes.go => list/routes.go +19 -17
@@ 128,7 128,7 @@ func (s *Service) ListingLinksUpdate(c echo.Context) error {
		LinkOrder:   listingLink.LinkOrder,
	}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Links"))
	pd := localizer.NewPageData(lt.Translate("Update Links"))
	pd.Data["save"] = lt.Translate("Save")
	pd.Data["url"] = lt.Translate("URL")
	pd.Data["description"] = lt.Translate("Description")


@@ 365,7 365,7 @@ func (s *Service) ListingLinksCreate(c echo.Context) error {
	listing := listings[0]
	form := &ListingLinkForm{}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Links"))
	pd := localizer.NewPageData(lt.Translate("Create Links"))
	pd.Data["save"] = lt.Translate("Save")
	pd.Data["url"] = lt.Translate("URL")
	pd.Data["description"] = lt.Translate("Description")


@@ 480,19 480,6 @@ func (s *Service) ListingLinksManage(c echo.Context) error {
		return echo.NotFoundHandler(c)
	}
	listing := listings[0]
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Links"))
	pd.Data["edit"] = lt.Translate("Edit")
	pd.Data["prev"] = lt.Translate("Previous")
	pd.Data["next"] = lt.Translate("Next")
	pd.Data["no_links"] = lt.Translate("No Links")
	pd.Data["add"] = lt.Translate("Add")
	pd.Data["title"] = lt.Translate("Title")
	pd.Data["action"] = lt.Translate("Action")
	pd.Data["order"] = lt.Translate("Order")
	pd.Data["actions"] = lt.Translate("Actions")
	pd.Data["delete"] = lt.Translate("Delete")
	pd.Data["back"] = lt.Translate("Back")

	type GraphQLResponse struct {
		Listing struct {


@@ 553,6 540,21 @@ func (s *Service) ListingLinksManage(c echo.Context) error {
		}
		return err
	}

	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("%s Links", result.Listing.Result.Title))
	pd.Data["edit"] = lt.Translate("Edit")
	pd.Data["prev"] = lt.Translate("Previous")
	pd.Data["next"] = lt.Translate("Next")
	pd.Data["no_links"] = lt.Translate("No Links")
	pd.Data["add"] = lt.Translate("Add")
	pd.Data["title"] = lt.Translate("Title")
	pd.Data["action"] = lt.Translate("Action")
	pd.Data["order"] = lt.Translate("Order")
	pd.Data["actions"] = lt.Translate("Actions")
	pd.Data["delete"] = lt.Translate("Delete")
	pd.Data["back"] = lt.Translate("Back")

	gmap := gobwebs.Map{
		"pd":           pd,
		"listingLinks": result.Listing.Links,


@@ 1389,7 1391,7 @@ func (s *Service) ListingQRCodeList(c echo.Context) error {
	}

	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("QR Codes List"))
	pd := localizer.NewPageData(lt.Translate("QR Code Listing"))
	pd.Data["add"] = lt.Translate("Add")
	pd.Data["title"] = lt.Translate("Title")
	pd.Data["delete"] = lt.Translate("Delete")


@@ 1570,7 1572,7 @@ func (r *DetailService) ListDetail(c echo.Context) error {
		return err
	}
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Links"))
	pd := localizer.NewPageData(lt.Translate("%s Links", result.Listing.Result.Title))
	pd.Data["prev"] = lt.Translate("Previous")
	pd.Data["next"] = lt.Translate("Next")
	pd.Data["no_links"] = lt.Translate("No Links")

M mattermost/routes.go => mattermost/routes.go +1 -1
@@ 111,7 111,7 @@ func (s *Service) Connect(c echo.Context) error {
	teamID := c.Param("id")

	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Connect to mattermost"))
	pd := localizer.NewPageData(lt.Translate("Connect Mattermost"))
	pd.Data["organization"] = lt.Translate("Organization")
	pd.Data["connect"] = lt.Translate("Connect")
	pd.Data["already_connected"] = lt.Translate("This team is already tied to an organization")

M short/routes.go => short/routes.go +1 -1
@@ 664,7 664,7 @@ func (s *Service) LinkShortQRCodeList(c echo.Context) error {
	}

	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("QR Codes List"))
	pd := localizer.NewPageData(lt.Translate("QR Code Listing"))
	pd.Data["add"] = lt.Translate("Add")
	pd.Data["delete"] = lt.Translate("Delete")
	pd.Data["creation_date"] = lt.Translate("Creation Date")

M slack/routes.go => slack/routes.go +1 -1
@@ 278,7 278,7 @@ func (s *Service) SlashCommand(c echo.Context) error {
func (s *Service) ConnectSlack(c echo.Context) error {
	gctx := c.(*server.Context)
	lt := localizer.GetSessionLocalizer(c)
	pd := localizer.NewPageData(lt.Translate("Connect to slack workspace"))
	pd := localizer.NewPageData(lt.Translate("Connect to Slack Workspace"))
	pd.Data["organization"] = lt.Translate("Organization")
	pd.Data["connect"] = lt.Translate("Connect")
	pd.Data["invalid_slack"] = lt.Translate("Invalid slack response")

M templates/admin_billing_list.html => templates/admin_billing_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Billing Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <a href="{{reverse "admin:dashboard"}}" class="primary button is-small">{{.pd.Data.back}}</a>

M templates/admin_dashboard.html => templates/admin_dashboard.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Admin Dashboard{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <form class="app-header__search app-header__search--inline" method="GET" action="{{reverse "admin:dashboard"}}">

M templates/admin_domain_create.html => templates/admin_domain_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Domain Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  {{if .domain.ID}}

M templates/admin_domain_detail.html => templates/admin_domain_detail.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Domain Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.domain.Name}}</h1>
  <div>

M templates/admin_invite_user.html => templates/admin_invite_user.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}User Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <a class="button primary is-small" href="{{reverse "admin:user_list"}}">{{.pd.Data.back}}</a>

M templates/admin_org_detail.html => templates/admin_org_detail.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Organization Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.org.Name}}</h1>
  <div>

M templates/admin_organization_list.html => templates/admin_organization_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Organization Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <a class="button primary is-small" href="{{reverse "admin:dashboard"}}">{{.pd.Data.back}}</a>

M templates/admin_user_detail.html => templates/admin_user_detail.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}User Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.user.Name}}</h1>
  <div>

M templates/admin_user_edit.html => templates/admin_user_edit.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}User Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.user.Name}}</h1>
  <a class="button primary is-small" href="{{reverse "admin:user_detail" .user.ID}}">{{.pd.Data.back}}</a>

M templates/admin_user_list.html => templates/admin_user_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Users Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <div>

M templates/admin_user_lock.html => templates/admin_user_lock.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}User Admin{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.user.Name}}</h1>
  <a class="button primary is-small" href="{{reverse "admin:user_detail" .user.ID}}">{{.pd.Data.back}}</a>

M templates/analytics_detail.html => templates/analytics_detail.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Analytics{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
    <h1 class="app-header__title">{{.pd.Title}} | {{.title}}</h1>
    {{if .back}}

M templates/billing_cancel_subscription.html => templates/billing_cancel_subscription.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Cancel Subscription{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.org.Name}} {{.pd.Title}}</h1>
  {{if .back}}

M templates/billing_checkout.html => templates/billing_checkout.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Billing Checkout{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/billing_create_subscription.html => templates/billing_create_subscription.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Create Subscription{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.org.Name}} {{.pd.Title}}</h1>
  <a href="{{.back}}" class="button primary is-small">{{.pd.Data.back}}</a>

M templates/billing_history.html => templates/billing_history.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Billing History{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
    <h1 class="app-header__title">{{.org.Name}} {{.pd.Data.payment_history}}</h1>
    <a href="{{.back}}" class="button primary is-small">{{.pd.Data.back}}</a>

M templates/billing_manage_subscription.html => templates/billing_manage_subscription.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Billing Manage{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
    <h1 class="app-header__title">{{.pd.Title}}</h1>
    <div>

M templates/complete_register.html => templates/complete_register.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Complete Register{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/connect_mattermost.html => templates/connect_mattermost.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Connect Mattermost{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/connect_mm_user.html => templates/connect_mm_user.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Connect Mattermost User{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/connect_slack.html => templates/connect_slack.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Connect Slack{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
    <h1 class="app-header__title">{{.pd.Title}}: {{.workspace}}</h1>
</section>

M templates/connect_user.html => templates/connect_user.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Connect User{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/disconnect_mattermost.html => templates/disconnect_mattermost.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Disconnect Mattermost{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="card shadow-card">
  <form id="disconnect-mm-form" action="{{reverse "mattermost:disconnect_post" .conn.ID}}" method="POST">
    <input type="hidden" name="csrf" value="{{ .CSRF }}"/>

M templates/disconnect_slack.html => templates/disconnect_slack.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Disconnect Slack{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="card shadow-card">
  <form id="disconnect-slack-form" action="{{reverse "slack:slack_disconnect_post" .conn.ID}}" method="POST">
    <input type="hidden" name="csrf" value="{{ .CSRF }}">

M templates/domain_create.html => templates/domain_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Create Domain{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}} {{.pd.Data.for}} {{.org.Name}}</h1>
  <a class="button primary is-small" href="{{reverse "core:domain_list" .org.Slug}}">{{.pd.Data.back}}</a>

M templates/domain_list.html => templates/domain_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Domain List{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}} {{.pd.Data.for}} {{.org.Name}}</h1>
  <div>

M templates/element_delete.html => templates/element_delete.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Delete element{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="card shadow-card">
    <form action="{{.url}}" method="POST">
        <input type="hidden" name="csrf" value="{{ .CSRF }}">

M templates/export_data.html => templates/export_data.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Export Data{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
    <h1 class="app-header__title">{{.pd.Title}}</h1>
    <a href="{{reverse "core:org_list"}}" class="button primary is-small">{{.pd.Data.back}}</a>

M templates/feature_tour.html => templates/feature_tour.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Feature Tour{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/feed.html => templates/feed.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}{{ .Title }}{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<form method="GET" action="{{reverse "core:user_feed"}}" id="advanced-search-form">
    <section class="app-header app-header-advanced-search">
        <h1 class="app-header__title">{{ .user.Name }} {{.pd.Title}}</h1>

M templates/feed_following.html => templates/feed_following.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}{{ .Title }}{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
    <h1 class="app-header__title">{{.user.Name}} {{.pd.Title}}</h1>
    <a class="button primary is-small" href="{{reverse "core:user_feed"}}">{{.pd.Data.back}}</a>

M templates/graphql.html => templates/graphql.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}GraphQL Playground{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
{{ define "extrahead" }}
<link rel="stylesheet" href="{{ staticURL "css/codemirror.css" }}">
{{ end }}

M templates/inactive_domain.html => templates/inactive_domain.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Inactive Domain{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
</section>

M templates/index.html => templates/index.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Index{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
{{if .isAuthorized}}
<section class="card shadow-card">
  <h1>{{.pd.Title}}</h1>

M templates/link_create.html => templates/link_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Link Create{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}{{if .selectedOrg}} | {{.selectedOrg.Name}}{{end}}</h1>
  <a class="button primary is-small" href="{{reverse "core:home_link_list"}}">{{.pd.Data.back}}</a>

M templates/link_detail.html => templates/link_detail.html +1 -0
@@ 1,4 1,5 @@
{{template "base" .}}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  {{if .IsAuth}}

M templates/link_short_create.html => templates/link_short_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Link Short Create{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}} | {{.org.Name}}</h1>
  <a class="button primary is-small" href="{{reverse "short:link_short_list" .org.Slug}}">{{.pd.Data.back}}</a>

M templates/link_short_list.html => templates/link_short_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Short Link List{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header app-header-advanced-search{{if .advancedSearch}} mb-0{{end}}">
  <h1 class="app-header__title">{{ .org.Name }} {{.pd.Title}}</h1>
  <a class="button primary is-small" href="{{reverse "short:link_short_create" .org.Slug}}">{{.pd.Data.add}}</a>

M templates/listing_create.html => templates/listing_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}List Create{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}} | {{.org.Name}}</h1>
  <a class="button primary is-small" href="{{reverse "list:listing_list" .org.Slug}}">{{.pd.Data.back}}</a>

M templates/listing_detail.html => templates/listing_detail.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}List Detail{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
{{if .listing.Image}}
<section class="app-header app-header--centered">
  <img class="mb-2" width="100" src="{{mediaURL .listing.Image}}">

M templates/listing_link_create.html => templates/listing_link_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Create List Link{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}} | {{.listing.Title}}</h1>
  <a class="button primary is-small" href="{{reverse "list:listing_links" .org.Slug .listing.ID}}">{{.pd.Data.back}}</a>

M templates/listing_link_list.html => templates/listing_link_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}List Links{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.listing.Title}} {{.pd.Title}}</h1>
  <div>

M templates/listing_list.html => templates/listing_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Lists List{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header app-header-advanced-search{{if .advancedSearch}} mb-0{{end}}">
  <h1 class="app-header__title">{{.org.Name}} {{.pd.Title}}</h1>
  <a class="button primary is-small" href="{{reverse "list:listing_create" .org.Slug}}">{{.pd.Data.add}}</a>

M templates/note_create.html => templates/note_create.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Create Note{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}{{if .selectedOrg}} | {{.selectedOrg.Name}}{{end}}</h1>
  <a class="button primary is-small" href="{{reverse "core:home_link_list"}}">{{.pd.Data.back}}</a>

M templates/org_list.html => templates/org_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Your Organizations{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <a href="{{reverse "core:org_create"}}" class="button primary is-small">{{.pd.Data.add}}</a>

M templates/profile_edit.html => templates/profile_edit.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Profile{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <a class="button primary is-small" href="{{reverse "accounts:settings"}}">{{.pd.Data.back}}</a>

M templates/qrcode_detail.html => templates/qrcode_detail.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}QR Detail{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}}</h1>
  <a class="button primary is-small" href="{{.backURL}}">{{.pd.Data.back}}</a>

M templates/qrcodes_list.html => templates/qrcodes_list.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}QR List{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.object.Title}} {{.pd.Title}}</h1>
  <div>

M templates/register.html => templates/register.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Register{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Data.welcome}}</h1>
</section>

M templates/restricted.html => templates/restricted.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Restricted{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="card shadow-card">
    <p class="text-center">{{.pd.Data.message}}</p>
    {{if .orgSlug}}

M templates/restriction_redirect.html => templates/restriction_redirect.html +3 -3
@@ 1,9 1,9 @@
{{template "base" .}}
{{ define "title" }}Domain Restricted{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="card shadow-card">
    <h1 class="text-center">QR Code powered by Link Taco!</h1>
    <h1 class="text-center">{{ .pd.Title }}</h1>
    <p class="text-center"><a target="_blank" href="{{reverse "accounts:register"}}">Click here to make your own free account.</a></p>
    <p class="text-center">You will be redirected in 10 (countdown timer) seconds.</p>
    <p class="text-center">{{ .pd.Data.redirected }}</p>
</section>
<script>
    setTimeout(function() {

M templates/settings.html => templates/settings.html +1 -1
@@ 1,5 1,5 @@
{{template "base" .}}
{{ define "title" }}Settings{{ end }}
{{ define "title" }}{{ .pd.Title }}{{ end }}
<section class="app-header">
  <h1 class="app-header__title">{{.pd.Title}} </h1>
</section>