social icon indicating copy to clipboard operation
social copied to clipboard

Repair "followRemote" page

Open mnd opened this issue 5 years ago • 0 comments

  • 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:

  1. followRemote generated on base of "guest" layout that have no own "content" block, so we change to src/ostatus.js finished up with vue error about missed #content block
  2. I failed to found a way how script('social', 'social'); from templates/main.php should load OStatus.vue, so I simply makes templates/ostatus.php based pn main.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/

mnd avatar Nov 22 '20 12:11 mnd