.on("click", select))
.append(
$("<p>")
- .attr("class", "deemphasize")
+ .attr("class", "text-muted")
.text(I18n.t("javascripts.share.paste_html"))
.appendTo($linkSection));
$("<div>")
.attr("id", "export-warning")
- .attr("class", "deemphasize")
+ .attr("class", "text-muted")
.text(I18n.t("javascripts.share.only_standard_layer"))
.appendTo($imageSection);
.attr("type", "hidden")
.appendTo($form);
+ var args = {
+ width: "<span id=\"mapnik_image_width\"></span>",
+ height: "<span id=\"mapnik_image_height\"></span>"
+ };
+
$("<p>")
- .attr("class", "deemphasize")
- .html(I18n.t("javascripts.share.image_size") + " <span id=\"mapnik_image_width\"></span> x <span id=\"mapnik_image_height\"></span>")
+ .attr("class", "text-muted")
+ .html(I18n.t("javascripts.share.image_dimensions", args))
.appendTo($form);
$("<input>")