| Línea 1594... |
Línea 1594... |
| 1594 |
$share_increment_external_counter_url = $this->url()->fromRoute('share/increment-external-counter', $share_params, ['force_canonical' => true]);
|
1594 |
$share_increment_external_counter_url = $this->url()->fromRoute('share/increment-external-counter', $share_params, ['force_canonical' => true]);
|
| Línea 1595... |
Línea 1595... |
| 1595 |
|
1595 |
|
| Línea 1596... |
Línea -... |
| 1596 |
|
- |
|
| 1597 |
$share_external_url = $this->url()->fromRoute('shorter/generate', ['code' => $feed->uuid, 'type' => 'feed'], ['force_canonical' => true]);
|
- |
|
| 1598 |
|
- |
|
| 1599 |
|
- |
|
| 1600 |
|
- |
|
| 1601 |
$params_reaction = array_merge($params, ['reaction' => ContentReaction::REACTION_RECOMMENDED]);
|
- |
|
| 1602 |
$feed_save_reaction_recommended = $this->url()->fromRoute('feed/save-reaction', $params_reaction);
|
- |
|
| 1603 |
|
- |
|
| 1604 |
$params_reaction = array_merge($params, ['reaction' => ContentReaction::REACTION_SUPPORT]);
|
- |
|
| 1605 |
$feed_save_reaction_support = $this->url()->fromRoute('feed/save-reaction', $params_reaction);
|
- |
|
| 1606 |
|
- |
|
| 1607 |
$params_reaction = array_merge($params, ['reaction' => ContentReaction::REACTION_LOVE]);
|
- |
|
| 1608 |
$feed_save_reaction_love = $this->url()->fromRoute('feed/save-reaction', $params_reaction);
|
- |
|
| 1609 |
|
- |
|
| 1610 |
$params_reaction = array_merge($params, ['reaction' => ContentReaction::REACTION_INTEREST]);
|
- |
|
| 1611 |
$feed_save_reaction_interest = $this->url()->fromRoute('feed/save-reaction', $params_reaction);
|
- |
|
| 1612 |
|
- |
|
| 1613 |
$params_reaction = array_merge($params, ['reaction' => ContentReaction::REACTION_FUN]);
|
- |
|
| 1614 |
$feed_save_reaction_fun = $this->url()->fromRoute('feed/save-reaction', $params_reaction);
|
- |
|
| 1615 |
|
1596 |
|
| 1616 |
|
1597 |
$share_external_url = $this->url()->fromRoute('shorter/generate', ['code' => $feed->uuid, 'type' => 'feed'], ['force_canonical' => true]);
|
| 1617 |
|
1598 |
|
| 1618 |
$item = [
|
1599 |
$item = [
|
| 1619 |
'feed_unique' => uniqid(),
|
1600 |
'feed_unique' => uniqid(),
|
| 1620 |
'feed_uuid' => $feed->uuid,
|
1601 |
'feed_uuid' => $feed->uuid,
|
| 1621 |
'feed_my_reaction' => $reaction ? $reaction->reaction : '',
|
1602 |
'feed_my_reaction' => $reaction ? $reaction->reaction : '',
|
| 1622 |
'feed_delete_url' => '',
|
1603 |
'feed_delete_url' => '',
|
| 1623 |
'feed_content_type' => $feed->file_type ? $feed->file_type : '',
|
1604 |
'feed_content_type' => $feed->file_type ? $feed->file_type : '',
|
| 1624 |
'feed_reactions' => $reactions,
|
1605 |
'feed_reaction_url' => $this->url()->fromRoute('feed/save-reaction', ['id' => $feed->uuid]),
|
| 1625 |
'feed_highlighted' => $feed->id == $feedHighlighted ? 1 : 0,
|
1606 |
'feed_highlighted' => $feed->id == $feedHighlighted ? 1 : 0,
|