After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681383 - Admin pages lost CSS and features
Admin pages lost CSS and features
Status: RESOLVED FIXED
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-07 15:17 UTC by Gabor Kelemen
Modified: 2012-10-07 23:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for bug nmbr:681383 (1.40 KB, patch)
2012-08-09 02:43 UTC, Breno Santana
none Details | Review

Description Gabor Kelemen 2012-08-07 15:17:52 UTC
http://l10n.gnome.org/admin/ looks like it has no CSS anymore. 

Worse that I have just added a new module[1], and the part to add the domain / directory is simply not there, so the new modules page[2] does not display any po files.

[1] http://l10n.gnome.org/admin/stats/module/403/
[2] http://l10n.gnome.org/module/dconf/
Comment 1 Gil Forcada 2012-08-07 22:14:00 UTC
I think that maybe that's because of Claude migrating to django 1.4?

I will try to take a look at it.
Comment 2 Claude Paroz 2012-08-08 09:19:32 UTC
(In reply to comment #1)
> I think that maybe that's because of Claude migrating to django 1.4?

Yes, it is.

I temporarily added a STATIC_URL setting in local_settings.py and recreated the media/admin symlink, but the real fix is to migrate DL to staticfiles. I'm leaving the bug open for that task.
Comment 3 Gil Forcada 2012-08-08 12:26:40 UTC
Care (In reply to comment #2)
> I temporarily added a STATIC_URL setting in local_settings.py and recreated the
> media/admin symlink, but the real fix is to migrate DL to staticfiles. I'm
> leaving the bug open for that task.

Care to elaborate/link to relevant documentation so that anyone (even myself :) can try to cook a patch for it?
Comment 4 Adorilson Bezerra 2012-08-08 23:26:58 UTC
Gil,

the static-files documentation is here: https://docs.djangoproject.com/en/1.4/howto/static-files/
Comment 5 Breno Santana 2012-08-09 02:43:02 UTC
Created attachment 220759 [details] [review]
Patch for bug nmbr:681383
Comment 6 Claude Paroz 2012-08-09 08:10:50 UTC
Breno, thanks for the patch. It's a first step, but we will probably also need to separate "media" (uploads) and "static" files in different folders.

However I wonder if we should first let the newtheme branch land (#681167), and then fix this one.
Comment 7 Gabor Kelemen 2012-08-09 10:42:16 UTC
(In reply to comment #6)
> However I wonder if we should first let the newtheme branch land (#681167), and
> then fix this one.

I'd like to point out that on the module pages I still cannot set the translation domain, so http://l10n.gnome.org/module/dconf/ is pretty much unusable.
Comment 8 Claude Paroz 2012-08-15 08:54:44 UTC
(In reply to comment #7)
> I'd like to point out that on the module pages I still cannot set the
> translation domain, so http://l10n.gnome.org/module/dconf/ is pretty much
> unusable.

Fixed, it was a simple permission problem for the group "coordination_team".
Comment 9 Gil Forcada 2012-10-07 23:38:25 UTC
Forgot to mark as fixed :)