diff options
author | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-18 11:16:34 -0800 |
---|---|---|
committer | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-18 11:28:08 -0800 |
commit | d51ed04584ada2682e203cce143f31ca6d0866bd (patch) | |
tree | 298f949a6b572abc3810a6304c769606fbf79ab8 /views | |
parent | 70982d89085c76f569b511c6245fb9a549d1825f (diff) |
Adding Federation toggle
There is now a toggle in the `config/domain-example.js` file called `isFederated`. When set to `true`, ActivityPub functions as normal. When set to false, the ActivityPub functions all immediately return without doing anything, and AP routes return 404s.
Diffstat (limited to 'views')
-rwxr-xr-x | views/event.handlebars | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/event.handlebars b/views/event.handlebars index 6f9dae1..52a68bc 100755 --- a/views/event.handlebars +++ b/views/event.handlebars @@ -72,6 +72,7 @@ <i class="fas fa-copy"></i> Copy </button> </li> + {{#if isFederated}} <li> <span class="fa-li"> <i class="fas fa-fw fa-share-square"></i> @@ -81,6 +82,7 @@ <i class="fas fa-copy"></i> Copy </button> </li> + {{/if}} </ul> </div> </div> |