Closed (fixed)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2010 at 00:24 UTC
Updated:
2 Oct 2010 at 00:10 UTC
Jump to comment: Most recent file
A module may want to change what gets displayed as the label below a thumbnail. Here's a quick improvement to theme_media_thumbnail() to make that possible. Eventually, we'll want to solve the flexible label issue generically in #910396: Implement the new entity label setting, but this is useful as an interim step.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | media-theme-thumbnail-2.patch | 1.51 KB | effulgentsia |
| media-theme-thumbnail.patch | 1.52 KB | effulgentsia |
Comments
Comment #1
JacobSingh commentedI dont' get this part:
Why the string "Filename"? I suppose there would always be a value for filename in the files table, but if there wasn't I would either have no filename or "unnamed $type"
Maybe I'm missing the point though. Otherwise fine.
Comment #2
effulgentsia commentedAgreed with #1. Committed this patch instead.