Commit b8e64fc1 by Sven Marnach

Merge pull request #65 from open-craft/smarnach/image-url-placeholder

Add placeholder text to item image URL input field.  Bump version to 2.0.4.
parents b550822d aef0f25c
...@@ -9,7 +9,7 @@ install: ...@@ -9,7 +9,7 @@ install:
- "sh install_test_deps.sh" - "sh install_test_deps.sh"
- "pip uninstall -y xblock-drag-and-drop-v2" - "pip uninstall -y xblock-drag-and-drop-v2"
- "python setup.py sdist" - "python setup.py sdist"
- "pip install dist/xblock-drag-and-drop-v2-2.0.3.tar.gz" - "pip install dist/xblock-drag-and-drop-v2-2.0.4.tar.gz"
script: script:
- pep8 drag_and_drop_v2 tests --max-line-length=120 - pep8 drag_and_drop_v2 tests --max-line-length=120
- pylint drag_and_drop_v2 tests - pylint drag_and_drop_v2 tests
......
Version 2.0.3 (2016-02-18) Version 2.0.4 (2016-03-10)
--------------------------
* Add a placeholder text to the input field to set the item image. (PR #65)
Version 2.0.3 (2016-03-07)
-------------------------- --------------------------
* Bugfix: When omitting the background image description in Studio, the red halo * Bugfix: When omitting the background image description in Studio, the red halo
......
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
<label for="item-{{id}}-image-url">{{i18n "Image URL (alternative to the text)"}}</label> <label for="item-{{id}}-image-url">{{i18n "Image URL (alternative to the text)"}}</label>
<input type="text" <input type="text"
id="item-{{id}}-image-url" id="item-{{id}}-image-url"
placeholder="{{i18n 'For example, http://example.com/image.png or /static/image.png'}}"
class="item-image-url" class="item-image-url"
value="{{ imageURL }}" /> value="{{ imageURL }}" />
</div> </div>
......
...@@ -23,7 +23,7 @@ def package_data(pkg, root_list): ...@@ -23,7 +23,7 @@ def package_data(pkg, root_list):
setup( setup(
name='xblock-drag-and-drop-v2', name='xblock-drag-and-drop-v2',
version='2.0.3', version='2.0.4',
description='XBlock - Drag-and-Drop v2', description='XBlock - Drag-and-Drop v2',
packages=['drag_and_drop_v2'], packages=['drag_and_drop_v2'],
install_requires=[ install_requires=[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment