def render_uploaded_by_badge(request, topography):
    """Returns a HMTL snippet with a badge about who uploaded a given topography.
    """
    return {
        'topography': topography,
        'is_creator': request.user == topography.creator
    }