Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6067 | Rev 6070 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6067 Rev 6068
Línea 1689... Línea 1689...
1689
            } else {
1689
            } else {
1690
                $link_delete = '';
1690
                $link_delete = '';
1691
            }
1691
            }
Línea 1692... Línea 1692...
1692
 
1692
 
1693
            if ($company) {
1693
            if ($company) {
1694
                #array_push($comments, [
1694
                array_push($comments, [
1695
                'unique' => uniqid(),
1695
                    'unique' => uniqid(),
1696
                'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1696
                    'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1697
                'user_name' => $user->first_name . ' ' . $user->last_name,
1697
                    'user_name' => $user->first_name . ' ' . $user->last_name,
1698
                /* Aqui es Anderson */
1698
                    /* Aqui es Anderson */
1699
                'company_id' => $company->image,
1699
                    'company_id' => $company->image,
1700
                //'user_image' => $this->url()->fromRoute('storage', ['type' => 'user',  'code' => $user->uuid, 'filename' =>  $user->image]),
1700
                    //'user_image' => $this->url()->fromRoute('storage', ['type' => 'user',  'code' => $user->uuid, 'filename' =>  $user->image]),
1701
                'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>   $company->image]),
1701
                    'user_image' => $this->url()->fromRoute('storage', ['type' => 'company',  'code' => $company->uuid, 'filename' =>   $company->image]),
1702
                'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1702
                    'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1703
                'comment' => $record->comment,
1703
                    'comment' => $record->comment,
1704
                'link_delete' => $link_delete
1704
                    'link_delete' => $link_delete
1705
            ]);
1705
                ]);
1706
            }else {
1706
            } else {
1707
                array_push($comments, [
1707
                array_push($comments, [
1708
                    'unique' => uniqid(),
1708
                    'unique' => uniqid(),
1709
                    'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1709
                    'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
1710
                    'user_name' => $user->first_name . ' ' . $user->last_name,
1710
                    'user_name' => $user->first_name . ' ' . $user->last_name,
Línea 1715... Línea 1715...
1715
                    'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1715
                    'time_elapsed' => Functions::timeAgo($record->added_on, $now),
1716
                    'comment' => $record->comment,
1716
                    'comment' => $record->comment,
1717
                    'link_delete' => $link_delete
1717
                    'link_delete' => $link_delete
1718
                ]);
1718
                ]);
1719
            }
1719
            }
1720
            
-
 
1721
        }
1720
        }
1722
        $item['comment_add_url'] = $this->url()->fromRoute('feed/comment', ['id' => $feed->uuid]);
1721
        $item['comment_add_url'] = $this->url()->fromRoute('feed/comment', ['id' => $feed->uuid]);
1723
        $item['comments'] = $comments;
1722
        $item['comments'] = $comments;
Línea 1724... Línea 1723...
1724
 
1723