Simplify shipping template tags

This commit simplifies yet another set of template tags by using
Django's helpers.

Closes #1419.