refactor:去除翻译语言选择页顶部的“项目名-项目slug”文字

This commit is contained in:
sunxiyuan 2020-07-14 11:55:42 +08:00
parent 605e2e0849
commit a8d9b1b7c3

View file

@ -12,9 +12,9 @@ foreach( $projects as $p ): ?>
// display package name, and slug if it differs.
if( $p->name === $p->short ):?>
<h2><?php $p->e('name')?></h2><?php
<!--<h2><?php $p->e('name')?></h2>--><?php
else:?>
<h2><?php $p->e('name')?> <span>(<?php $p->e('short')?>)</span></h2><?php
<!--<h2><?php $p->e('name')?> <span>(<?php $p->e('short')?>)</span></h2>--><?php
endif;
echo $this->render('inc-po-links', array( 'nav' => $p->nav ) );