From cb0a0599e2d25c6bb33227e3c2203c0680d8aae2 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Mon, 15 Jul 2024 21:38:39 +0530 Subject: [PATCH] linkifier-settings: Remove unnecessary div. The div element has no classes and thus is not used to apply any CSS or anything, so this commit removes it. --- .../settings/linkifier_settings_admin.hbs | 137 +++++++++--------- 1 file changed, 67 insertions(+), 70 deletions(-) diff --git a/web/templates/settings/linkifier_settings_admin.hbs b/web/templates/settings/linkifier_settings_admin.hbs index ed0c977e2f..f9a5ff4937 100644 --- a/web/templates/settings/linkifier_settings_admin.hbs +++ b/web/templates/settings/linkifier_settings_admin.hbs @@ -1,78 +1,75 @@
-
+

+ {{t "Configure regular expression patterns that will be used to + automatically transform any matching text in Zulip messages + and topics into links." }} +

+

+ {{t "Linkifiers make it easy to refer to issues or tickets in + third party issue trackers, like GitHub, Salesforce, Zendesk, + and others. For instance, you can add a linkifier that + automatically turns #2468 into a link to the GitHub issue + in the Zulip repository with:" }} +

+
    +
  • + {{t "Pattern" }}: #(?P<id>[0-9]+) +
  • +
  • + {{t "URL template" }}: https://github.com/zulip/zulip/issues/{id} +
  • +
+

+ {{#tr}} + For more examples, see the help center documentation + on adding linkifiers. + {{#*inline "z-link"}}{{> @partial-block}}{{/inline}} + {{/tr}} +

-

- {{t "Configure regular expression patterns that will be used to - automatically transform any matching text in Zulip messages - and topics into links." }} -

-

- {{t "Linkifiers make it easy to refer to issues or tickets in - third party issue trackers, like GitHub, Salesforce, Zendesk, - and others. For instance, you can add a linkifier that - automatically turns #2468 into a link to the GitHub issue - in the Zulip repository with:" }} -

-
    -
  • - {{t "Pattern" }}: #(?P<id>[0-9]+) -
  • -
  • - {{t "URL template" }}: https://github.com/zulip/zulip/issues/{id} -
  • -
-

- {{#tr}} - For more examples, see the help center documentation - on adding linkifiers. - {{#*inline "z-link"}}{{> @partial-block}}{{/inline}} - {{/tr}} -

- - {{#if is_admin}} -
-
-
-
- {{t "Add a new linkifier" }} - {{> ../help_link_widget link="/help/add-a-custom-linkifier" }} -
-
-
- - -
-
-
- - -
-
- + {{#if is_admin}} + +
+
+
+ {{t "Add a new linkifier" }} + {{> ../help_link_widget link="/help/add-a-custom-linkifier" }}
+
+
+ + +
+
+
+ + +
+
+
- - {{/if}} - -
-

{{t "Linkifiers"}}

-
-
+ + {{/if}} -
- - - - - {{#if is_admin}} - - {{/if}} - - -
{{t "Pattern" }}{{t "URL template" }}{{t "Actions" }}
-
+
+

{{t "Linkifiers"}}

+
+ +
+ +
+ + + + + {{#if is_admin}} + + {{/if}} + + +
{{t "Pattern" }}{{t "URL template" }}{{t "Actions" }}