Remove coub original link option

This commit is contained in:
isqua 2015-01-31 13:58:05 +03:00
parent fad1e5e689
commit 82c2ef8442
4 changed files with 7 additions and 18 deletions

View file

@ -87,10 +87,7 @@
"message": "Pleer.com ▼"
},
"option_embedding_coubcom": {
"message": "Coub.com ▼"
},
"option_embedding_coubcom_orig_link": {
"message": "Leave original link"
"message": "Coub.com"
},
"option_embedding_twitter_tweets": {
"message": "Twitter"

View file

@ -87,10 +87,7 @@
"message": "Pleer.com ▼"
},
"option_embedding_coubcom": {
"message": "Coub.com ▼"
},
"option_embedding_coubcom_orig_link": {
"message": "Не убирать ссылку"
"message": "Coub.com"
},
"option_embedding_twitter_tweets": {
"message": "Twitter"

View file

@ -1171,7 +1171,7 @@ function parse_coub_links(current_options) {
obj.parentElement.insertBefore(player, obj);
if (current_options.is('option_embedding_coubcom_orig_link', false)) {
if (current_options.is('option_embedding_remove_original_link')) {
$(obj).hide();
}
}

View file

@ -112,15 +112,10 @@
</label>
</div>
<div class="option-node">
<input type="checkbox" name="option-embedding-coubcom" id="option-embedding-coubcom">
<label for="option-embedding-coubcom" data-i18n="option_embedding_coubcom"></label>
<label class="option-node">
<input type="checkbox" name="option-embedding-coubcom-orig-link">
<span data-i18n="option_embedding_coubcom_orig_link"></span>
<input type="checkbox" name="option-embedding-coubcom">
<span data-i18n="option_embedding_coubcom"></span>
</label>
</div>
<label class="option-node">
<input type="checkbox" name="option-embedding-twitter-tweets">