Merge branch 'ticket-14' into 'master'
make product or content edit page support both better Closes #14 See merge request engineering/make-post-sell/make_post_sell!15
This commit is contained in:
commit
f5e41f74e0
1 changed files with 9 additions and 7 deletions
|
|
@ -75,9 +75,9 @@ permanent link: <a href="{{ product.absolute_url(request) }}">{{ product.absolut
|
|||
|
||||
{% else %}
|
||||
|
||||
<h3>Upload or Replace Product File</h3>
|
||||
<h3>Upload or Replace {% if product.is_sellable %}Product{% else %}Content{% endif %} File</h3>
|
||||
|
||||
People may download this file after making a purchase.
|
||||
People may download this file{% if product.is_sellable %} after making a purchase{% endif %}.
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
|
@ -126,7 +126,7 @@ permanent link: <a href="{{ product.absolute_url(request) }}">{{ product.absolut
|
|||
<h3>Upload or Replace Thumbnail Files</h3>
|
||||
|
||||
<section>
|
||||
Your product cover (<code>thumbnail1</code>) will show up on search pages.
|
||||
Your cover (<code>thumbnail1</code>) will show up on search pages.
|
||||
<br />
|
||||
<br />
|
||||
</section>
|
||||
|
|
@ -162,9 +162,9 @@ Your product cover (<code>thumbnail1</code>) will show up on search pages.
|
|||
|
||||
<section class="product-title-and-description well2">
|
||||
<form method="post" action="/p/{{ product.id }}/edit" onsubmit="submit.disabled = true; return true;">
|
||||
<h3>Edit Title, Description, or Price</h3>
|
||||
<h3>Edit Title, Description, or Visibility</h3>
|
||||
|
||||
<label for="title_input">Product Title</label>
|
||||
<label for="title_input">Title</label>
|
||||
<input
|
||||
name = "title"
|
||||
type = "text"
|
||||
|
|
@ -177,7 +177,7 @@ Your product cover (<code>thumbnail1</code>) will show up on search pages.
|
|||
<br />
|
||||
<br />
|
||||
|
||||
<label for="description_input">Product Description <a href="/p/{{ product.id }}/description/edit">(advanced editor)</a></label> Supports Markdown and some HTML
|
||||
<label for="description_input">Description <a href="/p/{{ product.id }}/description/edit">(advanced editor)</a></label> Supports Markdown and some HTML
|
||||
<textarea
|
||||
name = "description"
|
||||
id = "description_input"
|
||||
|
|
@ -188,7 +188,8 @@ Your product cover (<code>thumbnail1</code>) will show up on search pages.
|
|||
<br />
|
||||
<br />
|
||||
|
||||
<label for="price_input">Product Price</label>
|
||||
{% if product.is_sellable %}
|
||||
<label for="price_input">Price</label>
|
||||
<input
|
||||
name = "price"
|
||||
type = "text"
|
||||
|
|
@ -200,6 +201,7 @@ Your product cover (<code>thumbnail1</code>) will show up on search pages.
|
|||
|
||||
<br />
|
||||
<br />
|
||||
{% endif %}
|
||||
|
||||
<style>
|
||||
label.visibility_radio {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue