Add author information to collection header when viewed

Bug #897057 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Jono M

Bug Description

Mahara 1.4+

When you view a collection, only its title appears, but not the author details as they do when you look at a page.

I think it would be good to show the author as well (like of a regular page) because otherwise you may not know who created the collection as you don't have any way of going back to find the author if he didn't put some link to his profile into this page.

Tags: collections
Revision history for this message
François Marier (fmarier) wrote :

If we're changing the title of collections, we should fix bug #896890 too.

tags: added: collections
Changed in mahara:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Preferably, the author information is displayed in a smaller font, e.g. right below the title so that the title is not so long. Especially those users who see the display name, real name and login name sometimes have more name to look at than title.

Jono M (jonom)
Changed in mahara:
assignee: nobody → Jono Mingard (reason-koan)
Revision history for this message
François Marier (fmarier) wrote :
Changed in mahara:
status: Triaged → In Progress
milestone: none → 1.5.0
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/1074
Committed: http://gitorious.org/mahara/mahara/commit/6d6f1e0fd5f105fcbf8907a45c684e0fc798db6a
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 6d6f1e0fd5f105fcbf8907a45c684e0fc798db6a
Author: Jono Mingard <email address hidden>
Date: Fri Feb 24 15:50:11 2012 +1300

    Add author information to header (Bug 897057)

    Added the author name to pages (regardless of whether
    they are in a collection) below the page title.
    Added a language string "viewauthor" in
    lang/en.utf8/view.php.

    Added a function in lib/view.php to output this string
    with the proper username and URL.

    Added this to theme/raw/templates/view/view.tpl by
    passing a new string to smarty ($author) in
    htdocs/view/view.php

    Also moved page description to be below tabbed collection
    navigation in view.tpl

    Change-Id: I5799ccda3a7f29888692fbd3b4d6aac836cbc677
    Signed-off-by: Jono Mingard <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1071
Committed: http://gitorious.org/mahara/mahara/commit/08104a1aa6447d9f94ad968348ad0e47c322db06
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 08104a1aa6447d9f94ad968348ad0e47c322db06
Author: Jono Mingard <email address hidden>
Date: Wed Feb 22 17:06:05 2012 +1300

    Collection title overrides page title (Bug 896890)

    Changes htdocs/view/view.php
    If a page is in a collection with tabbed navigation, the
    collection title only is displayed. If a page is in a
    collection without tabbed navigation OR not in a collection
    at all, only the title of the page is displayed.

    The author has been removed from the page header (title
    used to be "PageTitle by Author" but is now just "PageTitle")
    (This includes editing a page)
    It will be added back with my fix for Bug 897057.

    The title is also no longer a link as without small headers
    it used to act as a link to the current page.

    Note: The $title variable is now global and is set only once
    (rather than twice within two if statements).

    Change-Id: I36fa6945862d57c8e3767828e1a6c4bd6a1e3a94
    Signed-off-by: Jono Mingard <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjqY0AAoJECXBtiziiXdcrpMIAKO5qOyhN9AQn9fCr32yAEba
wyQwhMOm1wS5eB4Qa29Hbr3c0xgXcwgsIFHfe0SCL92Gt2W3UjB8klrrRYssj5iu
o7DlmKBJhXo7i/AC005KeMTQZfY7ZX/tI8Lqux3FjfhSpRhCPatLLPr/hZHTbB4X
XXI47L8e304a6AwmDgsa9UUejDIjOwmOF7fFTeul8OgS4zSg3GUDQ1tTMW3+7Sns
YNmS3iU2+e0Z1CQlg5BqKwHVzCByuPPXuotvUkBkcLP53k1gUOn3OnMODTfbbrvf
UOVYo510SEKrkMCi0B4rLQHg8Ck2cUc1wS4GhxCOMrAcYDokjgTM98AerGB2sGE=
=uHSn
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.