mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-08 06:56:08 +08:00
refactor:去除翻译语言选择页顶部的“项目名-项目slug”文字
This commit is contained in:
parent
605e2e0849
commit
a8d9b1b7c3
1 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@ foreach( $projects as $p ): ?>
|
|||
<div class="loco-project" id="loco-<?php $p->e('id')?>"><?php
|
||||
|
||||
// display package name, and slug if it differs.
|
||||
if( $p->name === $p->short ):?>
|
||||
<h2><?php $p->e('name')?></h2><?php
|
||||
else:?>
|
||||
<h2><?php $p->e('name')?> <span>(<?php $p->e('short')?>)</span></h2><?php
|
||||
if( $p->name === $p->short ):?>
|
||||
<!--<h2><?php $p->e('name')?></h2>--><?php
|
||||
else:?>
|
||||
<!--<h2><?php $p->e('name')?> <span>(<?php $p->e('short')?>)</span></h2>--><?php
|
||||
endif;
|
||||
|
||||
echo $this->render('inc-po-links', array( 'nav' => $p->nav ) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue