Download & Extend

Want option to to not display quantity acronyms

Project:Recipe
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:tzoscott
Status:closed (fixed)

Issue Summary

Does anyone besides me find these confusing sometimes? It might be nice to have the option of turning these on or off.

Comments

#1

I'd like to see an option to turn them off as well. As a quick fix modify line 1461 to not display the abbreviations on the view page.

before:

        $ingredients[] = $ingredient->quantity .' <acronym title="'. recipe_unit_name($ingredient->unit_id) .'">'. $ingredient->abbreviation .'</acronym> '. $ingredient->name;

after:

        $ingredients[] = $ingredient->quantity . ' ' . recipe_unit_name($ingredient->unit_id) . ' '. $ingredient->name;

#2

Assigned to:Anonymous» tzoscott

I tend to agree here, and this would be a simple change.
If someone wants to beat me to it, it would be a trivial patch :-)

Otherwise, I'll add an option checkbox on the Recipe Admin page, test and commit this.

#3

Title:quantity acronyms» Want option to to not display quantity acronyms

#4

Status:active» fixed

fixed in dev. New setting was added in the recipe settings admin page.

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here