Skip to content

Commit

Permalink
一覧へボタンの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Aug 29, 2016
1 parent e379c46 commit 2883c63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions View/Elements/BbsArticles/view_bbs_article.ctp
Expand Up @@ -26,6 +26,8 @@ $linkFormatId = BbsArticlesController::LINK_ID_FORMAT;
//根記事タイトル
echo sprintf(__d('bbses', '%s. '), $bbsArticle['BbsArticleTree']['article_no']);

echo $this->NetCommonsHtml->titleIcon($bbsArticle['BbsArticle']['title_icon']) . ' ';

if ($bbsArticle['BbsArticleTree']['root_id'] > 0) {
echo $this->Workflow->label($bbsArticle['BbsArticle']['status'], array(
WorkflowComponent::STATUS_IN_DRAFT => array(
Expand All @@ -41,8 +43,7 @@ $linkFormatId = BbsArticlesController::LINK_ID_FORMAT;
echo $this->Workflow->label($bbsArticle['BbsArticle']['status']);
}

echo $this->NetCommonsHtml->titleIcon($bbsArticle['BbsArticle']['title_icon']) . ' ' .
h($bbsArticle['BbsArticle']['title']);
echo h($bbsArticle['BbsArticle']['title']);
?>

<?php if ($isRootArticle) : ?>
Expand Down

0 comments on commit 2883c63

Please sign in to comment.