From 54a60f02c07a6a7530b0850284c3e95561daa706 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Wed, 25 Sep 2013 14:04:54 -0400
Subject: [PATCH] Added new list button to MyResearch.

---
 themes/blueprint/templates/Recommend/FavoriteFacets.phtml | 6 ++++++
 themes/bootstrap/css/screen.css                           | 1 +
 themes/bootstrap/templates/Recommend/FavoriteFacets.phtml | 1 +
 3 files changed, 8 insertions(+)

diff --git a/themes/blueprint/templates/Recommend/FavoriteFacets.phtml b/themes/blueprint/templates/Recommend/FavoriteFacets.phtml
index 802c9a48293..ff8343a82a2 100644
--- a/themes/blueprint/templates/Recommend/FavoriteFacets.phtml
+++ b/themes/blueprint/templates/Recommend/FavoriteFacets.phtml
@@ -16,6 +16,12 @@
             (<?=$this->escapeHtml($current['count'])?>)
           </li>
         <? endforeach; ?>
+        <li>
+          <a href="<?=$this->url('editList', array('id'=>'NEW'))?>" title="<?=$this->transEsc('Create a List') ?>">
+            <?=$this->transEsc('Create a List') ?> 
+          </a>
+          <img src="<?=$this->imageLink('silk/add.png')?>" style="margin-left:2px;vertical-align:text-bottom"/>
+        </li>
       </ul>
     </div>
   <? endif; ?>
diff --git a/themes/bootstrap/css/screen.css b/themes/bootstrap/css/screen.css
index b9d7eb149ff..37e07169bc7 100644
--- a/themes/bootstrap/css/screen.css
+++ b/themes/bootstrap/css/screen.css
@@ -12,6 +12,7 @@ li a.hidden {display:none}
 * html .centered-pills ul.nav-pills { display:inline } /* IE6 */
 *+html .centered-pills ul.nav-pills { display:inline } /* IE7 */
 .modal-body { max-height:600px }
+.nav-list i[class^="icon-"] { margin:0;padding:0;text-align:center;width:16px }
 .pad { padding:12px }
 .pager { margin:0 0 8px 0 }
 .pointer { cursor:pointer }
diff --git a/themes/bootstrap/templates/Recommend/FavoriteFacets.phtml b/themes/bootstrap/templates/Recommend/FavoriteFacets.phtml
index cd221930b8e..ea62ff471db 100644
--- a/themes/bootstrap/templates/Recommend/FavoriteFacets.phtml
+++ b/themes/bootstrap/templates/Recommend/FavoriteFacets.phtml
@@ -9,6 +9,7 @@
       <a href="<?=$this->url('userList', array('id' => $current['value']))?>"><?=$this->escapeHtml($current['displayText'])?> <span class="pull-right"><?=$this->escapeHtml($current['count'])?></span></a>
     </li>
   <? endforeach; ?>
+    <li><a href="<?=$this->url('editList', array('id'=>'NEW'))?>" title="<?=$this->transEsc('Create a List') ?>"><?=$this->transEsc('Create a List') ?> <span class="pull-right"><i class="icon-plus"></i></span></a></li>
   </ul>
 <? endif; ?>
 
-- 
GitLab