]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/info.html
OSQA-140:
[osqa.git] / forum / skins / default / templates / users / info.html
index 690fc7e35d07d43b0ee98feaad99c8e2b8b9bc03..fb6fcde2ad2751e04b579668b020309e5d88e2f7 100644 (file)
                 {% if view_user.date_of_birth%}
                 <tr>
                                        <!--todo  - redo this with blocktrans -->
-                    <td>{% trans "age" %}</td>
-                    <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
+                    {% if view_user.date_of_birth.year != 1900%}
+                        <td>{% trans "age" %}</td>
+                        <td>{% get_age view_user.date_of_birth %} {% trans "age unit" %}</td>
+                    {% endif %}
                 </tr>
                 {% endif %}
                 {% if request.user.is_superuser %}