Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ViderumGlobal/ckanext-requestdata
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoranPandovski committed May 15, 2017
2 parents 49f8fa9 + 4411dbf commit 4f4e163
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ See the [Wiki](https://github.com/ViderumGlobal/ckanext-requestdata/wiki) for fu

To install ckanext-requestdata:

1. Activate your CKAN virtual environment, for example::
1. Activate your CKAN virtual environment, for example:

. /usr/lib/ckan/default/bin/activate

2. Install the ckanext-requestdata Python package into your virtual environment::
2. Install the ckanext-requestdata Python package into your virtual environment:

pip install ckanext-requestdata

3. Add ``requestdata`` to the ``ckan.plugins`` setting in your CKAN
config file (by default the config file is located at
``/etc/ckan/default/production.ini``).

4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu::
4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

sudo service apache2 reload

Expand Down Expand Up @@ -57,7 +57,7 @@ and do:
git clone https://github.com/ViderumGlobal/ckanext-requestdata.git
cd ckanext-requestdata
python setup.py develop
pip install -r requirements.txt
pip install -r dev-requirements.txt
```

## Running the Tests
Expand Down
6 changes: 1 addition & 5 deletions ckanext/requestdata/fanstatic/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,4 @@ h3 {

.additional-info h3 {
margin-left: 5px;
}

.requested-data-message {
margin-top: 60px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,17 @@ <h3 class="uppercase">{{ _('Data and Resources') }}</h3>
>Request data</a>
{% endtrans %}
{% endif %}
<div class="container-subpanel">
{% if pkg.type == 'hdx-requestdata-metadata-only' %}
<div class="container-subpanel">

<div class="circle gray-bg"></div>
<div class="lines">
<div class="upper gray-bg"></div>
<div class="lower gray-bg"></div>
</div>
<div class="circle gray-bg"></div>
<div class="lines">
<div class="upper gray-bg"></div>
<div class="lower gray-bg"></div>
</div>

</div>
</div>
{% endif %}

{% endblock %}
</section>
2 changes: 2 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
email_validator==1.0.2
timeago==1.0.7

0 comments on commit 4f4e163

Please sign in to comment.