Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {block content}
- <link rel="stylesheet" href="{$basePath}/css/embed.css" />
- <div class="container">
- <h2><a href="{plink Service:detail, $heading->service_id, $heading->service_name}">{$heading->service_name}</a> pro <a href="{plink Project:detail, $heading->project_id, $heading->project_website}">{$heading->project_website}</a> od <a href="{plink Businesspublic:detail, $heading->business_id, $heading->business_name}">{$heading->business_name}</a></h2>
- </div>
- <div class="container">
- <div class="row">
- <div class="col-4">
- <div class="bg-secondary text-white">
- <p>Zadavatel: <a href="{plink Project:detail,$heading->project_id,$heading->project_website}">{$heading->project_website}</a></p>
- <p>Realizované služby: <a href="{plink Service:detail,$heading->service_id,$heading->service_name}">{$heading->service_name}</a></p>
- <p>Zahájení: {$heading->business_has_project_since|date:'%d.%m.%Y'}</p>
- {ifset $heading->business_has_project_until}
- <p>Dokončení: {$heading->business_has_project_until|date:'%d.%m.%Y'}</p>
- {else}
- <p>Dokončení: přetrvává</p>
- {/ifset}
- </div>
- </div>
- <div class="col-4">
- <p>{$heading->business_has_project_description}</p>
- </div>
- <div class="col-4">
- {ifset $heading->uploaded_file_path}
- <img src="{$heading->uploaded_file_path}" class="img-fluid" width="250" alt="obrazek_urceny_pro_reference">
- {/ifset $heading->uploaded_file_path}
- </div>
- </div>
- </div>
- <div class="container">
- <div class="row">
- <div class="col-lg-4">
- <div class="bg-secondary text-white">
- <h4>Další služby od {$heading->business_name}</h4>
- {if isset($others)}
- {foreach $others as $other}
- {ifset $other->business_has_project_until}
- <a href="{plink Businesspublic:reference, $other->service_id, $other->project_id, $other->business_id, $other->business_has_project_since->format('Y-m-d H:i:s'), $other->business_has_project_until->format('Y-m-d H:i:s')}"><p>{$other->business_has_project_since|date:'%d.%m.%Y'} {$other->service_name}</p></a>
- {else}
- <a href="{plink Businesspublic:reference, $other->service_id, $other->project_id, $other->business_id, $other->business_has_project_since->format('Y-m-d H:i:s'), "NULL"}"><p>{$other->business_has_project_since|date:'%d.%m.%Y'} {$other->service_name}</p></a>
- {/ifset}
- {/foreach}
- {else}
- <p>Nebyly použity žádné další služby.</p>
- {/if}
- </div>
- </div>
- <!--
- <div class="col-lg-4">
- <div class="bg-secondary text-white">
- <h4>Služby od jiných firem</h4>
- {if isset($helps)}
- {foreach $helps as $help}
- {ifset $help->business_has_project_until}
- <a href="{plink Businesspublic:reference, $help->service_id, $help->project_id, $help->business_id, $help->business_has_project_since->format('Y-m-d H:i:s'), $help->business_has_project_until->format('Y-m-d H:i:s')}"><p>{$help->business_name} {$help->business_has_project_since|date:'%d.%m.%Y'} {$help->service_name}</p></a>
- {else}
- <a href="{plink Businesspublic:reference, $help->service_id, $help->project_id, $help->business_id, $help->business_has_project_since->format('Y-m-d H:i:s'), "NULL"}"><p>{$help->business_name} {$help->business_has_project_since|date:'%d.%m.%Y'} {$help->service_name}</p></a>
- {/ifset}
- {/foreach}
- {else}
- <p>Nebyly poskytnuty žádné služby od ostatních firem.</p>
- {/if}
- </div>
- </div>-->
- <div class="col-lg-8">
- {ifset $heading->business_has_project_data}
- <div class="youtube" data-embed="{$heading->business_has_project_data}">
- <div class="play-button"></div>
- </div>
- {/ifset}
- </div>
- </div>
- </div>
- <div class="container">
- <h4>Články o {$heading->service_name}</h4>
- {ifset $articles}
- {foreach $articles as $article}
- <a href="{plink Article:detail, $article->article_id, $article->article_title}">
- <h5>{$article->article_title}</h5>
- <p>{$article->article_content|striptags|noescape|truncate:280}</p>
- <p>{$article->service_name}</p>
- <p>{$article->service_description}</p>
- <img src="{$article->uploaded_file_path}" class="img-fluid" width="100" alt="nahledovy_obrazek_clanku">
- </a>
- {/foreach}
- {else}
- <p>Doposud nebyly přidány žádné články o této službě.</p>
- {/ifset}
- </div>
- <script src="{$basePath}/js/embed.js"></script>
- {/block}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement