Fix mod loader, TOS and external link

This commit is contained in:
Sam Therapy 2021-08-12 14:08:09 -05:00
parent 699fd379e1
commit 4e7482ae49
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
3 changed files with 4 additions and 10 deletions

View file

@ -10,6 +10,6 @@
<noscript>To use Pleroma, please enable JavaScript.</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="text/javascript" src="/path/to/pleroma-mod-loader.js"></script>
<script type="text/javascript" src="/static/pleroma-mod-loader.js"></script>
</body>
</html>

View file

@ -65,7 +65,7 @@
:title="$t('user_card.edit_profile')"
/>
</button>
<button
<a
v-if="isOtherUser && !user.is_local"
:href="user.statusnet_profile_url"
target="_blank"
@ -75,7 +75,7 @@
class="icon"
icon="external-link-alt"
/>
</button>
</a>
<AccountActions
v-if="isOtherUser && loggedIn"
:user="user"

View file

@ -1,9 +1,3 @@
<h4>Terms of Service</h4>
<p>This is the default placeholder ToS. You should copy it over to your static folder and edit it to fit the needs of your instance.</p>
<p>To do so, place a file at <code>"/instance/static/static/terms-of-service.html"</code> in your
Pleroma install containing the real ToS for your instance.</p>
<p>See the <a href='https://docs.pleroma.social/backend/configuration/static_dir/'>Pleroma documentation</a> for more information.</p>
<br>
<img src="/static/logo.svg" style="display: block; margin: auto; max-width: 100%; height: 50px; object-fit: contain;" />
<p> Don't do anything illegal in the US. </p>