Diary: {$diaryDesc}
Navigate this diary with the calendar.
{if $diaryItems}
Diary entries for {$smarty.get.date|date_format:"%A, %B %e, %Y"}.
| Item |
Date |
Type |
X |
{foreach from=$diaryItems item=diaryItem}
{if $diaryItem.type == "Food"}
| {$diaryItem.description} |
{elseif $diaryItem.type == "Meal"}
{$diaryItem.description} |
{elseif $diaryItem.type == "Note"}
{$diaryItem.data} |
{/if}
{$diaryItem.date} |
{$diaryItem.type} |
|
{/foreach}
{if $summaryData}
| Nutrient |
Total |
%DRI |
{foreach from=$summaryData item=nutrient}
| {$nutrient.nutrientName} |
{$nutrient.total}{$nutrient.units} |
{if $nutrient.percentDri != "--"}
{$nutrient.percentDri}% |
{else}
-- |
{/if}
{foreach from=$nutrient.quantities item=quantity}
{$quantity} |
{/foreach}
{/foreach}
{/if}
{else}
This day has no diary entries. If you would like to add a food or a recipe, search for or view an item as
you normally would and then use the form at the bottom of the nutrition summary page to add the item
to a diary. Using the "timestamp" field you can add a food or recipe to this day. Here's a tip: create
a collection of saved foods that you eat frequently and use them as the building blocks for diaries and recipes.
If you want to add a note to this diary, you may do so with the form below.
{/if}