Skip to content
Snippets Groups Projects
Commit 09f536df authored by Pascal Zaragoza's avatar Pascal Zaragoza
Browse files

double insert entity name

parent 41d02a4d
No related branches found
Tags v0.9.0
No related merge requests found
......@@ -43,7 +43,7 @@
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-1 main">
<?= $this->element("Entity/backerFor")?>
<?php if ( sizeof( $backerSoftwares ) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
<?= $this->Html->link( __d("Layout","All projects backed by {0} ",$user->username).$user->username,
<?= $this->Html->link( __d("Layout","All projects backed by {0} ",$user->username),
['controller' => 'Entity', 'action' => 'getRelationshipsSoftwares','?' => ['id' => $user->id,'filter' =>"BackerOf" ]],
['escape' => false] ) ?>
<?php endif;?>
......@@ -53,7 +53,7 @@
<?= $this->element("Entity/providerFor")?>
<?php if ( sizeof( $providerSoftwares ) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
<?= $this->Html->link( __d("Layout","All projects provided by {0} ",$user->username).$user->username,
<?= $this->Html->link( __d("Layout","All projects provided by {0} ",$user->username),
['controller' => 'Entity', 'action' => 'getRelationshipsSoftwares','?' => ['id' => $user->id,'filter' =>"ServicesProvider" ]],
['escape' => false] ) ?>
<?php endif;?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment