Skip to content

Commit

Permalink
Footer shared in a separate file and software name in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Oct 7, 2024
1 parent 500ea7b commit a484a56
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions templates/components/footer.html.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<footer class="text-center text-muted mb-2 fixed-bottom opacity-75">
<small><a href="https://github.com/24eme/signaturepdf?tab=readme-ov-file#signature-pdf-libre">Signature PDF libre</a> - <?php echo _("Free open-source software"); ?> <span class="d-none d-md-inline"><?php echo _("under AGPL-3.0 license"); ?> : <a href="https://github.com/24eme/signaturepdf"><?php echo _("see the source code"); ?></a><?php if($COMMIT): ?> [<a href="https://github.com/24eme/signaturepdf/tree/<?php echo $COMMIT ?>"><?php echo $COMMIT ?></a>]</span><?php endif; ?></small>
</footer>
4 changes: 1 addition & 3 deletions templates/metadata.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
</div>
</div>
</div>
<footer class="text-center text-muted mb-2 fixed-bottom opacity-75">
<small><?php echo _("Free open-source software"); ?> <span class="d-none d-md-inline"><?php echo _("under AGPL-3.0 license"); ?></span> : <a href="https://github.com/24eme/signaturepdf"><?php echo _("see the source code"); ?></a><?php if($COMMIT): ?> <span class="d-none d-md-inline small">[<a href="https://github.com/24eme/signaturepdf/tree/<?php echo $COMMIT ?>"><?php echo $COMMIT ?></a>]</span><?php endif; ?></small>
</footer>
<?php include('components/footer.html.php'); ?>
</div>
<div id="page-metadata" class="d-none">
<div id="div-margin-top" style="height: 88px;" class="d-md-none"></div>
Expand Down
4 changes: 1 addition & 3 deletions templates/organization.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
</div>
</div>
</div>
<footer class="text-center text-muted mb-2 fixed-bottom opacity-75">
<small><?php echo _("Free open-source software"); ?> <span class="d-none d-md-inline"><?php echo _("under AGPL-3.0 license"); ?></span> : <a href="https://github.com/24eme/signaturepdf"><?php echo _("see the source code"); ?></a><?php if($COMMIT): ?> <span class="d-none d-md-inline small">[<a href="https://github.com/24eme/signaturepdf/tree/<?php echo $COMMIT ?>"><?php echo $COMMIT ?></a>]</span><?php endif; ?></small>
</footer>
<?php include('components/footer.html.php'); ?>
</div>
<div id="page-organization" class="d-none decalage-pdf-div">
<div id="div-margin-top" style="height: 88px;" class="d-md-none"></div>
Expand Down
4 changes: 1 addition & 3 deletions templates/signature.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
</div>
</div>
</div>
<footer class="text-center text-muted mb-2 fixed-bottom opacity-75">
<small><?php echo _("Free open-source software"); ?> <span class="d-none d-md-inline"><?php echo _("under AGPL-3.0 license"); ?></span> : <a href="https://github.com/24eme/signaturepdf"><?php echo _("see the source code"); ?></a><?php if($COMMIT): ?> <span class="d-none d-md-inline small">[<a href="https://github.com/24eme/signaturepdf/tree/<?php echo $COMMIT ?>"><?php echo $COMMIT ?></a>]</span><?php endif; ?></small>
</footer>
<?php include('components/footer.html.php'); ?>
</div>
<div id="page-signature" class="d-none decalage-pdf-div">
<?php if(isset($hash)): ?>
Expand Down

0 comments on commit a484a56

Please sign in to comment.