Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ docs/_build/

# Saas cache
**/.sass-cache

# Vi autobackup
*.swp

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% endif %}
{%- endmacro %}

<div id="followee-filter" class="pull-right">
<div id="followee-filter">
<a href="#followee-popover" class="btn" title="{{ _('Activity from:') }} {{ context.context }}">
<span>{{ _('Activity from:') }}</span>
<strong>{{ context.context }}</strong>
Expand Down
11 changes: 10 additions & 1 deletion ckanext/open_alberta/fanstatic/css/ab-opengov.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
font-size: 1.6em;
/* Bootstrap burgerizes the menu at 768px - move that to 40em as we can't customize BS itself */
/* Helpers */
/* tempoary fix for styling issues caused by alberta.ca css changes */ }
/* tempoary fix for styling issues caused by alberta.ca css changes */
/* make bootstrap selected-item style not be overridden by alberta.ca default link style causing blue-on-blue invisible text on dashboard news feed filter */ }
#alberta-ca.IDDP .system-notice {
padding: 15px;
background: #c0d4e8;
Expand Down Expand Up @@ -649,3 +650,11 @@
list-style: none;
display: inline-block;
margin-right: 5px; }
#alberta-ca.IDDP .nav-pills > li.active > a, #alberta-ca.IDDP .nav-pills > li.active > a:focus, #alberta-ca.IDDP .nav-pills > li.active > a:hover {
color: #fff; }
#alberta-ca.IDDP .dashboard-page-heading {
margin-top: 0; }
#alberta-ca.IDDP .dashboard-activity-column {
padding-right: 5px; }
#alberta-ca.IDDP .dashboard-activity-column ul.activity {
list-style: none; }
17 changes: 17 additions & 0 deletions ckanext/open_alberta/sass/ab-opengov.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1020,4 +1020,21 @@ $active-bg-color: #005072;
margin-right: 5px;
}
}

/* make bootstrap selected-item style not be overridden by alberta.ca default link style causing blue-on-blue invisible text on dashboard news feed filter */
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
color: #fff;
}

.dashboard-page-heading {
margin-top: 0;
}

.dashboard-activity-column {
padding-right: 5px;

ul.activity {
list-style: none;
}
}
}
24 changes: 24 additions & 0 deletions ckanext/open_alberta/templates/user/dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% ckan_extends %}

{% block primary_content_inner %}
<div data-module="dashboard">
<table>
<tr>
<td class="dashboard-activity-column">
<h2 class="page-heading dashboard-page-heading">
{% block page_heading %}
{{ _('News feed') }}
{% endblock %}
<small>{{ _("Activity from items that I'm following") }}</small>
</h2>
{% block activity_stream %}
{{ c.dashboard_activity_stream }}
{% endblock %}
</td>
<td>
{% snippet 'user/snippets/followee_dropdown.html', context=c.dashboard_activity_stream_context, followees=c.followee_list %}
</td>
</tr>
</table>
</div>
{% endblock %}