Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Name in Report Title #107

Closed
kiranpatel11 opened this issue Jul 23, 2020 · 1 comment
Closed

Project Name in Report Title #107

kiranpatel11 opened this issue Jul 23, 2020 · 1 comment
Labels
answered Question answered question Further information is requested

Comments

@kiranpatel11
Copy link

Hi,

Currently html page for individual project has default title "Allure Report ".
Can it be customized to inclue project name in the title ?

@fescobar fescobar added the question Further information is requested label Jul 24, 2020
@fescobar
Copy link
Owner

fescobar commented Jul 24, 2020

@kiranpatel11

You can create your own template following this:
https://github.com/fescobar/allure-docker-service#develop-a-new-template

The current template is this one:

<body>
    <div class="container jumbotron">
        <div class="display-4 lead">{{title}}</div>
        <div class="lead">Allure Docker Service</div>
        <br>
        <ul class="list-group">
            <li class="list-group-item d-flex justify-content-between align-items-center">
                Project ID
                <span class="badge badge-light badge-pill">
                    {{projectId}}
                </span>

You can change it for this:

<body>
    <div class="container jumbotron">
        <div class="display-4 lead">{{title}} -  {{projectId}}</div>
        <div class="lead">Allure Docker Service</div>

The results will be

{{title}} -  {{projectId}}

Allure Report - default

@fescobar fescobar added the answered Question answered label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Question answered question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants