social
social copied to clipboard
Repair "followRemote" page
- templates/main.php: Close previously opened php tag
- lib/Controller/OStatusController.php: Use "ostatus" template to get OStatus.vue instead of App.vue
- templates/ostatus.php: Return back ostatus template. Add 'content' block because 'guest' layout have no such block
- src/components/ProfileInfo.vue: Fix typo in followRemote page opening style
Signed-off-by: Nikolai Merinov [email protected]
- Resolves:
- Target version: master
Summary
This PR resolves issue added by ff9224e4adbfc1aee8503a2104276173a6b77d94 commit:
- followRemote generated on base of "guest" layout that have no own "content" block, so we change to
src/ostatus.jsfinished up with vue error about missed#contentblock - I failed to found a way how
script('social', 'social');fromtemplates/main.phpshould loadOStatus.vue, so I simply makestemplates/ostatus.phpbased pnmain.php
Suggested change fixes page https://cloud.mndet.net/apps/social/api/v1/ostatus/followRemote/mnd that loaded when you press "Follow" button at https://cloud.mndet.net/apps/social/@mnd/