Re: [Django] #19224: The documentation version switcher

2013-05-19 Thread Django
#19224: The documentation version switcher
-+
 Reporter:  aruseni  |Owner:  graup
 Type:  Bug  |   Status:  assigned
Component:  *.djangoproject.com  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+

Comment (by graup):

 Please review my pull request:
 https://github.com/django/djangoproject.com/pull/52

 This includes both the mentioned CSS quickfix (moving the always-fixed
 element up a bit) as well as an enhanced JS version which works like the
 "affix" known from bootstrap. Browsers with JS disabled fallback to the
 CSS fixed version.
 I tested the JS in Chrome, Safari and Firefox (Mac).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2013-05-19 Thread Django
#19224: The documentation version switcher
-+
 Reporter:  aruseni  |Owner:  graup
 Type:  Bug  |   Status:  assigned
Component:  *.djangoproject.com  |  Version:  1.5
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+
Changes (by graup):

 * owner:  EvilDMP => graup
 * version:  1.4 => 1.5


Comment:

 Will try to find a good (and maybe completely different) solution for
 this.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2013-05-10 Thread Django
#19224: The documentation version switcher
-+
 Reporter:  aruseni  |Owner:  EvilDMP
 Type:  Bug  |   Status:  assigned
Component:  *.djangoproject.com  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+
Changes (by EvilDMP):

 * owner:  reecelong => EvilDMP


Comment:

 I have tentatively reserved this ticket for first-time committers who take
 part in the [https://dont-be-afraid-to-commit.readthedocs.org/ Don't be
 afraid to commit workshop] at the [http://2013.djangocon.eu/ DjangoCon
 Europe 2013] sprints on 18th and 19th May.

 If you want to tackle this ticket before then, please '''don't''' let the
 fact that it's assigned to me stop you. Feel free to re-assign it to
 yourself and do whatever you like to it.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2013-04-04 Thread Django
#19224: The documentation version switcher
-+-
 Reporter:  aruseni  |Owner:  reecelong
 Type:  Bug  |   Status:  assigned
Component:  *.djangoproject.com  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+-

Comment (by reecelong):

 Sorry about that! Here's the link to the pull request:
 https://github.com/django/djangoproject.com/pull/48

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2013-04-04 Thread Django
#19224: The documentation version switcher
-+-
 Reporter:  aruseni  |Owner:  reecelong
 Type:  Bug  |   Status:  assigned
Component:  *.djangoproject.com  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+-

Comment (by claudep):

 Please link to the branch/pull request.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2013-04-04 Thread Django
#19224: The documentation version switcher
-+-
 Reporter:  aruseni  |Owner:  reecelong
 Type:  Bug  |   Status:  assigned
Component:  *.djangoproject.com  |  Version:  1.4
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  1
-+-
Changes (by reecelong):

 * owner:  Melevir => reecelong
 * has_patch:  0 => 1


Comment:

 I came across this ticket the other night and saw that it hadn't been
 touched in a few months, so I thought I would take a look at it. After
 looking through the source for djangoproject.com, I appeared (to me at
 least) that you guys don't use much javascript. So, after talking with a
 friend, we came up with a small CSS hack to accomplish the goal. Changing
 the bottom property of the doc-versions ul to 50px pushes it up just
 enough to rest on the bottom of the inner menu frame. I have made the
 change in a branch that I just submitted, but if you feel like it doesn't
 look good or that we should go back to the drawing board, just let me
 know. Thanks!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2012-11-07 Thread Django
#19224: The documentation version switcher
-+-
 Reporter:  aruseni  |Owner:  Melevir
 Type:  Bug  |   Status:  assigned
Component:  Djangoproject.com|  Version:  1.4
  Web site   |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  1|
-+-
Changes (by Melevir):

 * owner:  nobody => Melevir
 * status:  new => assigned


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #19224: The documentation version switcher

2012-11-07 Thread Django
#19224: The documentation version switcher
-+-
 Reporter:  aruseni  |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Djangoproject.com|  Version:  1.4
  Web site   |   Resolution:
 Severity:  Normal   | Triage Stage:  Accepted
 Keywords:   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  1|
-+-
Changes (by claudep):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * type:  Uncategorized => Bug
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #19224: The documentation version switcher

2012-10-31 Thread Django
#19224: The documentation version switcher
+
 Reporter:  aruseni |  Owner:  nobody
 Type:  Uncategorized   | Status:  new
Component:  Djangoproject.com Web site  |Version:  1.4
 Severity:  Normal  |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  1   |  UI/UX:  1
+
 There is a documentation switcher at the right bottom corner of every
 documentation page.

 It is very nice and neat, but it has a little issue: if you scroll down to
 the bottom of the page, you cannot read the text in the page footer.

 We could solve this by adding a tiny piece of JavaScript in there, which
 would listen to the scroll event and reposition the documentation switcher
 in case the footer (or some part of it) is visible (so the documentation
 version switcher remains on top of the footer when the footer is shown).

 Here is an example (use [http://www.learningjquery.com/2009/04/better-
 stronger-safer-jquerify-bookmarklet this bookmarket] to load jQuery if you
 are going to test this by running the code in the JS console):

 {{{
 #!div style="font-size: 80%"
 Code highlighting:
   {{{#!javascript
 var versions = $("ul#doc-versions")
 var footer = $("div#footer")

 $(window).scroll(function() {
 var window_bottom = $(window).scrollTop() + $(window).height();
 if(window_bottom >= $(document).height() - (footer.height() + 20)) {
 versions.css("bottom", footer.height() - ($(document).height() -
 window_bottom) + 25 + "px");
 } else {
 versions.css("bottom", "5px");
 }
 });
   }}}
 }}}

 Of course, we can easily rewrite it to only use plain JavaScript (without
 jQuery).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.