diff --git a/module/story/view/view.html.php b/module/story/view/view.html.php index b99fe52d15..fc1fd66e31 100644 --- a/module/story/view/view.html.php +++ b/module/story/view/view.html.php @@ -500,7 +500,8 @@ $tab = $app->tab == 'product' ? 'project' : $app->tab; foreach($builds as $build) { - echo "
  • " . html::a($this->createLink('build', 'view', "buildID=$build->id"), "#$build->id $build->name", '', "data-app='{$tab}'") . '
  • '; + $link = common::hasPriv('build', 'view') ? html::a($this->createLink('build', 'view', "buildID=$build->id"), "#$build->id $build->name", '', "data-app='{$tab}'") : "#$build->id $build->name"; + echo "
  • $link
  • "; } ?> @@ -511,11 +512,12 @@