From 312022a8a15d897a7e270687eb2406a3b29c0140 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 3 Oct 2014 11:44:22 -0400 Subject: [PATCH] Simplified templates. - We always show a drop-down, so there's no need for conditional link text. --- themes/bootstrap/templates/cart/save.phtml | 2 +- themes/bootstrap3/templates/cart/save.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap/templates/cart/save.phtml b/themes/bootstrap/templates/cart/save.phtml index 141dc742fc9..5e06e9fd68b 100644 --- a/themes/bootstrap/templates/cart/save.phtml +++ b/themes/bootstrap/templates/cart/save.phtml @@ -48,7 +48,7 @@ <option value=""><?=$this->transEsc('My Favorites') ?></option> <? endif; ?> </select> - <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=count($this->lists) > 0 ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></a> + <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=$this->transEsc('or create a new list')?></a> </div> </div> diff --git a/themes/bootstrap3/templates/cart/save.phtml b/themes/bootstrap3/templates/cart/save.phtml index 00848acd4cb..3f19e69ca9a 100644 --- a/themes/bootstrap3/templates/cart/save.phtml +++ b/themes/bootstrap3/templates/cart/save.phtml @@ -48,7 +48,7 @@ <option value=""><?=$this->transEsc('My Favorites') ?></option> <? endif; ?> </select> - <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=count($this->lists) > 0 ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></a> + <a class="btn btn-link" id="make-list" href="<?=$this->url('editList', array('id' => 'NEW')) . '?' . implode('&', $idParams) ?>" title="<?=$this->transEsc('Create a List') ?>"><?=$this->transEsc('or create a new list'); ?></a> </div> </div> -- GitLab