only hide submission guidelines when the user has more than 2 submissions
This commit is contained in:
parent
a016086b44
commit
6fb3e5ebd8
|
@ -15,7 +15,8 @@
|
|||
<a href="#" id="story_guidelines_toggler">
|
||||
Story submission guidelines
|
||||
</a>
|
||||
<div id="story_guidelines" style="display: none;">
|
||||
<div id="story_guidelines" style="<%= @user &&
|
||||
@user.stories_submitted_count > 2 ? "display: none;" : "" %>">
|
||||
<div style="float: right;">
|
||||
<a href="javascript:window.location=%22http://lobste.rs/stories/new?url=%22+encodeURIComponent(document.location)+%22&title=%22+encodeURIComponent(document.title)"
|
||||
style="border: 1px solid #ddd; padding: 0.5em; background-color:
|
||||
|
@ -46,14 +47,15 @@
|
|||
</p></li>
|
||||
|
||||
<li><p>
|
||||
If no tags clearly apply to what you are submitting, chances are
|
||||
it does not belong here. Do not overreach with tags if they are
|
||||
not the primary focus of the story.
|
||||
If no tags clearly apply to the story you are submitting, chances
|
||||
are it does not belong here. Do not overreach with tags if they
|
||||
are not the primary focus of the story.
|
||||
</p></li>
|
||||
|
||||
<li><p>
|
||||
When the URL being submitted is more than a year or so old,
|
||||
please add the year to the post title in parentheses.
|
||||
When the story being submitted is more than a year or so old,
|
||||
please add the year the story was written to the post title in
|
||||
parentheses.
|
||||
</p></li>
|
||||
|
||||
<li><p>
|
||||
|
|
Loading…
Reference in a new issue