]> BookStack Code Mirror - website/commitdiff
Added hack update section
authorDan Brown <redacted>
Thu, 12 Oct 2023 17:00:48 +0000 (18:00 +0100)
committerDan Brown <redacted>
Thu, 12 Oct 2023 17:00:48 +0000 (18:00 +0100)
themes/bookstack/layouts/hacks/single.html

index cf6c57c8024425338f484a67c368e03994b33ded..fdc669e67e7c17798d9ec5f464194b6af363cdb5 100644 (file)
       {{ if .Params.Tested }}
       <hr>
 
       {{ if .Params.Tested }}
       <hr>
 
+      <h4>Request an Update</h4>
+
+      <div class="row">
+        <div class="col col-md-8">
+          <p>
+            Hack not working on the latest version of BookStack? <br>
+            You can request this hack to be updated & tested for a small one-time fee. <br>
+            This helps keeps these hacks updated & maintained in a sustainable manner.
+          </p>
+        </div>
+        <div class="col col-md-4 text-center">
+          <a href="https://bookstack-hacks.httpfunctions.com?hack_id={{ .File.ContentBaseName }}&hack_name={{.Title}}" class="button" target="_blank">Request Update</a>
+        </div>
+      </div>
+
+      <hr>
+
       <h4>Latest Hacks</h4>
 
       <div class="hack-box-list">
       <h4>Latest Hacks</h4>
 
       <div class="hack-box-list">