| Línea 167... |
Línea 167... |
| 167 |
'share_external_url' => $share_external_url,
|
167 |
'share_external_url' => $share_external_url,
|
| 168 |
'total_share_external' => $post->total_external_shared,
|
168 |
'total_share_external' => $post->total_external_shared,
|
| 169 |
'share_increment_external_counter_url' => $share_increment_external_counter_url,
|
169 |
'share_increment_external_counter_url' => $share_increment_external_counter_url,
|
| 170 |
'comments_url' => $this->url()->fromRoute('post/comments', ['id' => $post->uuid]),
|
170 |
'comments_url' => $this->url()->fromRoute('post/comments', ['id' => $post->uuid]),
|
| 171 |
'comments_add_url' => $this->url()->fromRoute('post/comments/add', ['id' => $post->uuid]),
|
171 |
'comments_add_url' => $this->url()->fromRoute('post/comments/add', ['id' => $post->uuid]),
|
| 172 |
'save_reaction_recommended_url' => $this->url()->fromRoute('post/save-reaction', ['id' => $post->uuid, 'reaction' => ContentReaction::REACTION_RECOMMENDED]),
|
- |
|
| 173 |
'save_reaction_support_url' => $this->url()->fromRoute('post/save-reaction', ['id' => $post->uuid, 'reaction' => ContentReaction::REACTION_SUPPORT]),
|
- |
|
| 174 |
'save_reaction_love_url' => $this->url()->fromRoute('post/save-reaction', ['id' => $post->uuid, 'reaction' => ContentReaction::REACTION_LOVE]),
|
- |
|
| 175 |
'save_reaction_interest_url' => $this->url()->fromRoute('post/save-reaction', ['id' => $post->uuid, 'reaction' => ContentReaction::REACTION_INTEREST]),
|
- |
|
| 176 |
'save_reaction_fun_url' => $this->url()->fromRoute('post/save-reaction', ['id' => $post->uuid, 'reaction' => ContentReaction::REACTION_FUN]),
|
172 |
'save_reaction_url' => $this->url()->fromRoute('post/save-reaction', ['id' => $post->uuid]),
|
| 177 |
'delete_reaction_url' => $this->url()->fromRoute('post/delete-reaction', ['id' => $post->uuid]),
|
173 |
'delete_reaction_url' => $this->url()->fromRoute('post/delete-reaction', ['id' => $post->uuid]),
|
| 178 |
'my_reaction' => $reaction ? $reaction->reaction : '',
|
174 |
'my_reaction' => $reaction ? $reaction->reaction : '',
|
| 179 |
'reactions' => $reactions,
|
175 |
'reactions' => $reactions,
|
| 180 |
//'is_liked' => $contentReaction ? 1 : 0,
|
176 |
//'is_liked' => $contentReaction ? 1 : 0,
|
| 181 |
//'like_url' => $this->url()->fromRoute('post/like', ['id' => $post->uuid]),
|
177 |
//'like_url' => $this->url()->fromRoute('post/like', ['id' => $post->uuid]),
|