<?php if (!empty( $alternativeTo ) ): ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Alternative to ")?> <?= __("{0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof ($alternativeTo) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See all"),
+ ['controller' => 'Project', 'action' => 'alternative','?' => ['id' => $project->id]],
+ ['title' => __d("Layout","All alternatives to {0}",$project->softwarename)],
+ ['escape' => false] ) ?>
+ <?php endif; ?>
+ </span>
+ </div>
<ul class=" list-unstyled">
<?php for ($nbAlternativeTo = 0; $nbAlternativeTo < Cake\Core\Configure::read("MAX_DISPLAY"); $nbAlternativeTo ++): ?>
<?php if (isset( $alternativeTo[$nbAlternativeTo] ) ) : ?>
<?php if (!empty( $backerOf ) ): ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Backers for {0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof ($backerOf) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See all"),
+ ['controller' => 'Project', 'action' => 'backers','?' => ['id' => $project->id,'filter' => "BackerOf"]],
+ ['title' => __d("Layout","All backers of {0}",$project->softwarename)],
+ ['escape' => false] ) ?>
+ <?php endif; ?>
+ </span>
+ </div>
<ul class=" list-unstyled">
<?php for ($nbBacker = 0; $nbBacker < Cake\Core\Configure::read("MAX_DISPLAY"); $nbBacker ++): ?>
<?php if (isset($backerOf[$nbBacker] ) ) : ?>
<?php if (isset($project) && $project!=null && !empty( $project->reviews ) ): ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Reviews for")?> <?= __d("ElementProject","{0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof($project->reviews) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See all"),
+ ['controller' => 'Project', 'action' => 'reviews','?' => ['id' => $project->id]],
+ ['title' => __d("Layout","All reviews of {0}",$project->softwarename)],
+ ['escape' => false] ) ?>
+ <?php endif; ?>
+ </span>
+ </div>
<?php for ($nbReview = 0; $nbReview < Cake\Core\Configure::read("MAX_DISPLAY"); $nbReview ++): ?>
<?php if (isset($project->reviews[$nbReview] ) ) : ?>
?>
<?php if (!empty( $project->screenshots ) ) : ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Screenshots of ")?> <?= __d("ElementProject {0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof( $project->screenshots ) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See all "),
+ ['controller' => 'Project', 'action' => 'screenshots','?' => ['id' => $project->id] ],
+ ['title' => __d("Layout","All screenshot of {0}",$project->softwarename)],
+ ['escape' => false]) ?>
+ <?php endif; ?>
+ </span>
+ </div>
+
<ul class=" list-unstyled ">
<?php for ($nbscreen = 0; $nbscreen < Cake\Core\Configure::read("MAX_DISPLAY"); $nbscreen ++): ?>
<?php if (isset($project->screenshots[$nbscreen] ) && $project->screenshots[$nbscreen]->url_directory != null ) : ?>
?>
<?php if (!empty( $relationshipsServicePorviders ) ): ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Service providers for {0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof ($relationshipsServicePorviders) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See All"),
+ ['controller' => 'Project', 'action' => 'providers','?' => ['id' => $project->id,'kind' => "servicesProvider"]],
+ ['title' => __d("Layout","All service providers of {0}",$project->softwarename)],
+ ['escape' => false] ) ?>
+ <?php endif; ?>
+ </span>
+ </div>
<ul class=" list-unstyled ">
<?php for ($nbServProvider = 0; $nbServProvider < Cake\Core\Configure::read("MAX_DISPLAY"); $nbServProvider ++): ?>
<?php if (isset( $relationshipsServicePorviders[$nbServProvider] ) ) : ?>
<?php if (!empty( $usersOf ) && !isset($projectUsersrelationship)): ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Users of {0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof ($usersOf) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See all"),
+ ['controller' => 'Project', 'action' => 'users','?' => ['id' => $project->id,'kind' => "UserOf"]],
+ ['title' => __d("Layout","All users of {0}",$project->softwarename)],
+ ['escape' => false] ) ?>
+ <?php endif; ?>
+ </span>
+ </div>
<ul class=" list-unstyled">
<?php for ($nbuser = 0; $nbuser < Cake\Core\Configure::read("MAX_DISPLAY"); $nbuser ++): ?>
<?php if (isset( $usersOf[$nbuser] ) ) : ?>
?>
<?php if (!empty( $worksWellWith ) ): ?>
<section class="">
- <h2>
+ <div class="align">
+ <h2>
<?= __d("ElementProject","Working well with {0}",$project->softwarename)?>
- </h2>
+ </h2>
+ <span>
+ <?php if ( sizeof ($worksWellWith) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
+ <?= $this->Html->link( __d("Layout","See all"),
+ ['controller' => 'Project', 'action' => 'works','?' => ['id' => $project->id]],
+ ['title' => __d("Layout","All softwares working well with {0}",$project->softwarename)],
+ ['escape' => false] ) ?>
+ <?php endif; ?>
+ </span>
+ </div>
<ul class=" list-unstyled ">
<?php for ($nbWWW = 0; $nbWWW < Cake\Core\Configure::read("MAX_DISPLAY"); $nbWWW ++): ?>
<?php if (isset( $worksWellWith[$nbWWW] ) ) : ?>
<div class="row">
<?= $this->element("ProjectPage/screenShotsList")?>
</div>
- <div class="row">
- <?php if ( sizeof( $project->screenshots ) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All screenshots of {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'screenshots','?' => ['id' => $project->id]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/reviews")?>
</div>
- <div class="row">
- <?php if ( sizeof($project->reviews) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All reviews of {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'reviews','?' => ['id' => $project->id]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/serviceProviders" )?>
</div>
- <div class="row">
- <?php if ( sizeof ($relationshipsServicePorviders) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All service providers of {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'providers','?' => ['id' => $project->id,'kind' => "servicesProvider"]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/backers" )?>
</div>
- <div class="row">
- <?php if ( sizeof ($backerOf) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All backers of {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'backers','?' => ['id' => $project->id,'filter' => "BackerOf"]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/usersOfProject" )?>
</div>
- <div class="row">
- <?php if ( sizeof ($usersOf) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All users of {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'users','?' => ['id' => $project->id,'kind' => "UserOf"]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/alternativeTo" )?>
</div>
- <div class="row">
- <?php if ( sizeof ($alternativeTo) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All alternatives to {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'alternative','?' => ['id' => $project->id]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/worksWellWith" )?>
</div>
- <div class="row">
- <?php if ( sizeof ($worksWellWith) > Cake\Core\Configure::read("MAX_DISPLAY") ) : ?>
- <?= $this->Html->link( __d("Layout","All softwares working well with {0}",$project->softwarename),
- ['controller' => 'Project', 'action' => 'works','?' => ['id' => $project->id]],
- ['escape' => false] ) ?>
- <?php endif; ?>
- </div>
<div class="row">
<?= $this->element("ProjectPage/metrics" , ['project' => $project])?>
display: inline-block;
}
-.software-unit .score,ul .score, .metric-score .score {
+.software-unit .score,ul .score, .metric-score .score, .allLink {
display: inline-block;
}
color: gray;
font-size: 60%;
}
+
+/*
+******Softwares Summary
+*/
+
+.align h2, align span{
+ display: inline-block;
+}
+
+.align span {
+ margin-left: 3em;
+}
+
/*
-******************************** End couleur notes *****************************
+******************************** End *****************************************
*/
/* ============================================================================