Skip to content

Commit

Permalink
Move svg to static directory
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Jun 27, 2021
1 parent d21bcf2 commit 832f75d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/static/a/svg/chevron-right-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/static/a/svg/chevron-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/templates/Document/Edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ require('./header.inc.phtml'); ?>
<p class="mb-0">The document was successfully edited!</p>
</div>
<div class="text-center">
<a class="btn btn-primary" href="<?=Common::relativeUrlToAbsolute('/document/' . rawurlencode($document_id))?>"><svg class="float-left align-middle" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg> Return to Document</a>
<a class="btn btn-primary" href="<?=Common::relativeUrlToAbsolute('/document/' . rawurlencode($document_id))?>"><img class="float-left" src="<?=Common::relativeUrlToAbsolute('/a/svg/chevron-right-white.svg' . $_unique_asset)?>"/> Return to Document</a>
</div>
<? } ?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/header.inc.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $_campaign_vultr = (
'<a href="' . Common::relativeUrlToAbsolute(
Common::$config->bnetdocs->campaigns->vultr
) . '"><img id="vultr-campaign" src="' . Common::relativeUrlToAbsolute(
'/a/vultr_logo_ondark.svg'
'/a/vultr_logo_ondark.svg' . $_unique_asset
) . '"/></a>' : ''
);*/
?><!DOCTYPE html>
Expand Down

0 comments on commit 832f75d

Please sign in to comment.