Repository: OCHA-DAP/hdx-ckan

Issue:
Dataset Create: make the Methodology = Other text box multiline
It should work like the description and license = other fields above, including markdown.

Also note some concerns of Dan in #348 

![image](https://cloud.githubusercontent.com/assets/1654485/3507190/81dc55f8-067b-11e4-8d88-6e8088eed5f9.png)

Dashboard: Add My Countries back and style like My Organizations
The menu item should be to the right of `My Organisations` and display a list of the countries that the user has followed. 

The list items won't have # of members or the "Your role" line.  See below for a mockup of how it should look (if INNAGO were a country).  Behavior of the datasets count should be the same as on My Organisations (if > 0, blue and linked to country page).  No behavior on followers count.

![image](https://cloud.githubusercontent.com/assets/1654485/3598014/a6b4ddbc-0cdb-11e4-8624-d14aadaddbd9.png)



Discussion:
Markup isn't rendering on the dataset view. Reopening: 

![image](https://cloud.githubusercontent.com/assets/1654485/3720816/04a000f0-165a-11e4-905b-791ae74afc35.png)

@cjhendrix - I added back the Countries(groups) as requested and styled them to look as asked. But, the default behaviour of the "My Groups" page is to show the groups that you area a member of. If we want to show the groups that you followed then we need to implement additional functionality. Please tell me if we need to add the "my followed groups" functionality!

Great point. And yes it should be a list of countries that have been followed.    How achievable is that in the current sprint?  We could leave My Countries out of the menu for this sprint and do that work in the next.


Resolving patch:
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/helpers.py b/ckanext-hdx_theme/ckanext/hdx_theme/helpers.py
--- a/ckanext-hdx_theme/ckanext/hdx_theme/helpers.py
+++ b/ckanext-hdx_theme/ckanext/hdx_theme/helpers.py
@@ -1,3 +1,4 @@
+from ckan.controllers import group
 import ckan.lib.helpers as h
 from ckan.common import (
      c, request
@@ -183,6 +184,15 @@ def hdx_get_extras_element(extras, key='key', value_key='org_url', ret_key='valu
             res = ex[ret_key]
     return res
 
+def hdx_group_followee_list():
+
+    context = {'model': model, 'session': model.Session,
+               'user': c.user or c.author, 'auth_user_obj': c.userobj,
+               'for_view': True}
+
+    list = logic.get_action('group_followee_list')(context, {'id': c.userobj.id})
+    return list
+
 
 def hdx_organizations_available_with_roles():
     organizations_available = h.organizations_available('read')
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/plugin.py b/ckanext-hdx_theme/ckanext/hdx_theme/plugin.py
--- a/ckanext-hdx_theme/ckanext/hdx_theme/plugin.py
+++ b/ckanext-hdx_theme/ckanext/hdx_theme/plugin.py
@@ -95,8 +95,8 @@ def get_helpers(self):
             'hdx_linked_user':hdx_helpers.hdx_linked_user,
             'hdx_show_singular_plural':hdx_helpers.hdx_show_singular_plural,
             'hdx_member_roles_list':hdx_helpers.hdx_member_roles_list,
-            'hdx_organizations_available_with_roles':hdx_helpers.hdx_organizations_available_with_roles
-            
+            'hdx_organizations_available_with_roles':hdx_helpers.hdx_organizations_available_with_roles,
+            'hdx_group_followee_list':hdx_helpers.hdx_group_followee_list
         }
         
     def get_actions(self):


Test patch: