You can create a freemarker template to display customized information about spaces and documents.
- develop your FTL template and add it in the Data Dictionary –> Presentation Templates space - In your space, go to "View Details" and select the template in the custom view dialog.
Alfresco has included some example templates to give you an idea.